drm/i915: Disable mmap ioctl for gen12+
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 1 Jun 2021 07:46:52 +0000 (09:46 +0200)
committerMatthew Auld <matthew.auld@intel.com>
Tue, 1 Jun 2021 08:55:45 +0000 (09:55 +0100)
commit35cbd91eb541e001f6e2648c56abb5361e3d6774
treedacb12fe832cd36c67001367fb103d14162b9994
parent62445a97c5fa85c4c6966c936155fc6a0dcfac5b
drm/i915: Disable mmap ioctl for gen12+

The platform should exclusively use mmap_offset, one less path to worry
about for discrete.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210601074654.3103-14-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/i915/gem/i915_gem_mman.c