[GIT PULL] drm-vc4-fixes-2016-08-29

From: Eric Anholt
Date: Mon Aug 29 2016 - 18:32:14 EST


Linux 4.8-rc1 (2016-08-07 18:18:00 -0700)

are available in the git repository at:

https://github.com/anholt/linux drm-vc4-fixes-2016-08-29

for you to fetch changes up to 552416c146fadc67cd9b53ef7adf88d3381c43a6:

drm/vc4: Fix oops when userspace hands in a bad BO. (2016-08-19 19:17:39 -0700)

----------------------------------------------------------------
This pull request brings in fixes for VC4 3D in 4.8, most of which are
covered by testcases.

----------------------------------------------------------------
Eric Anholt (6):
drm/vc4: Use drm_free_large() on handles to match its allocation.
drm/vc4: Use drm_malloc_ab to fix large rendering jobs.
drm/vc4: Fix handling of a pm_runtime_get_sync() success case.
drm/vc4: Free hang state before destroying BO cache.
drm/vc4: Fix overflow mem unreferencing when the binner runs dry.
drm/vc4: Fix oops when userspace hands in a bad BO.

drivers/gpu/drm/vc4/vc4_drv.c | 6 +++---
drivers/gpu/drm/vc4/vc4_drv.h | 9 +++++++++
drivers/gpu/drm/vc4/vc4_gem.c | 18 +++++++++---------
drivers/gpu/drm/vc4/vc4_irq.c | 4 +++-
4 files changed, 24 insertions(+), 13 deletions(-)