Files
linux/drivers/gpu/drm
Dave Airlie 8655f2847f drm: set FMODE_UNSIGNED_OFFSET for drm files
commit 76ef6b28ea upstream.

Since we have the ttm and gem vma managers using a subset
of the file address space for objects, and these start at
0x100000000 they will overflow the new mmap checks.

I've checked all the mmap routines I could see for any
bad behaviour but overall most people use GEM/TTM VMA
managers even the legacy drivers have a hashtable.

Reported-and-Tested-by: Arthur Marsh (amarsh04 on #radeon)
Fixes: be83bbf806 (mmap: introduce sane default mmap limits)
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-13 16:16:41 +02:00
..
2018-05-30 07:50:33 +02:00
2016-09-19 15:04:15 +02:00
2016-09-22 00:04:02 -07:00
2016-08-07 23:38:48 -04:00
2016-09-21 13:33:50 +02:00
2016-09-22 00:01:56 -07:00
2016-09-06 13:56:41 -04:00
2016-09-19 13:57:38 +02:00
2016-09-19 13:57:38 +02:00
2016-05-06 16:04:48 +02:00
2016-09-19 13:57:38 +02:00
2016-09-22 00:04:02 -07:00