Thomas Hellström c90c4c6574 drm/i915: Reinstate the mmap ioctl for some platforms
Reinstate the mmap ioctl for all current integrated platforms.
The intention was really to have it disabled for discrete graphics
where we enforce a single mmap mode.

This was reported to break ADL-P with the media stack, which was not the
intention. Although longer term we do still plan to sunset this ioctl
even for integrated, in favour of using mmap_offset instead.

Fixes: 35cbd91eb541 ("drm/i915: Disable mmap ioctl for gen12+")
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210624112914.311984-1-thomas.hellstrom@linux.intel.com
(cherry picked from commit d3f3baa3562a5d09f3e87f5fdf84952112807753)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2021-06-28 07:43:56 -04:00
..
2021-05-06 11:43:46 +02:00
2021-04-27 13:13:19 +02:00
2021-05-12 11:31:28 +02:00
2021-04-28 10:01:40 -07:00
2021-04-13 23:15:09 +02:00
2021-04-13 23:15:09 +02:00
2021-03-16 17:08:46 +10:00
2021-06-07 13:33:46 +02:00
2021-04-29 18:53:05 -03:00
2021-04-13 23:15:09 +02:00
2021-01-04 12:59:33 +01:00
2021-01-07 13:40:20 +01:00
2021-05-17 21:19:48 +02:00
2021-03-18 14:22:50 +01:00