summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2018-05-15 13:38:15 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-11 22:49:22 +0200
commit2abd4c3ed20df4609c28cefa4df36b3dad9dfed7 (patch)
tree7c460c3b89138e61bf513cb08baefe4fc2e961f7 /Makefile
parent3fe4b0cf93833af2ef497784bdfb2a4eecaabb6e (diff)
drm: set FMODE_UNSIGNED_OFFSET for drm files
commit 76ef6b28ea4f81c3d511866a9b31392caa833126 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: be83bbf8068 (mmap: introduce sane default mmap limits) Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions