aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/basic
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2016-12-07 19:28:03 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2016-12-22 21:27:03 +0200
commit4a15cdbbc55463e55a7cdcf33f84ccc742ca9c29 (patch)
tree66fb138dc2285a03d4fff02049d0f7552de84ef6 /scripts/basic
parentdrm/i915: Fix oopses in the overlay code due to i915_gem_active stuff (diff)
drm/i915: Fix oops in overlay due to frontbuffer tracking
The vma will be NULL if the overlay was previously off, so dereferencing it will oops. Check for NULL before doing that. Cc: stable@vger.kernel.org Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Fixes: 9b3b7841b86d ("drm/i915/overlay: Use VMA as the primary tracker for images") Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1481131693-27993-2-git-send-email-ville.syrjala@linux.intel.com Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions