commit | 126d5de38542d47d5d8385ce374e33c2a7f34e51 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Wed Dec 04 18:06:28 2019 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Wed Dec 04 18:06:28 2019 +0000 |
tree | bc4b4b007951a705a553ca8aabdf2fe425f6e169 | |
parent | 780ccb5a5a43a7787b7cbdc49f7660232fd26aaf [diff] |
drm/i915/gem: Hook user-extensions upto MMAP_OFFSET_IOCTL Call i915_user_extensions() to validate the arg->extensions pointer, and so return consistent error numbers for the future. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Abdiel Janulgue <abdiel.janulgue@linux.intel.com> Cc: Matthew Auld <matthew.auld@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191204162803.3841140-1-chris@chris-wilson.co.uk