summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_guc_ct.h
diff options
context:
space:
mode:
authorMatthew Auld <matthew.auld@intel.com>2018-05-02 22:50:21 +0300
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>2018-05-14 15:09:03 +0300
commit20943f984967477c906522112d2b6b5a29f94684 (patch)
treeb4d305ac3e3119d1177e02529df556e45c3e925a /drivers/gpu/drm/i915/intel_guc_ct.h
parent67b8d5c7081221efa252e111cd52532ec6d4266f (diff)
downloadlinux-20943f984967477c906522112d2b6b5a29f94684.tar.xz
drm/i915/userptr: reject zero user_size
Operating on a zero sized GEM userptr object will lead to explosions. Fixes: 5cc9ed4b9a7a ("drm/i915: Introduce mapping of user pages into video memory (userptr) ioctl") Testcase: igt/gem_userptr_blits/input-checking Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20180502195021.30900-1-matthew.auld@intel.com (cherry picked from commit c11c7bfd213495784b22ef82a69b6489f8d0092f) Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_guc_ct.h')
0 files changed, 0 insertions, 0 deletions