]> git.baikalelectronics.ru Git - kernel.git/commit
drm/shmem: drop pgprot_decrypted()
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 28 Feb 2020 10:47:23 +0000 (11:47 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 2 Mar 2020 06:13:19 +0000 (07:13 +0100)
commitc68911f9e7919fae0a2e567f193239c8f4f13d3c
treea4c01606618e21c9f8b3c38cd5eedfc4da647f72
parent9767c4a3934411801c77ca52ca553b4b3f47eeb3
drm/shmem: drop pgprot_decrypted()

Was added by commit 4f9d861be5df ("x86, drm, fbdev: Do not specify
encrypted memory for video mappings"), then it was kept through various
changes.

While vram actually needs decrypted mappings this is not correct for
shmem gem objects which live in main memory not io memory, so remove the
call.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200228104723.18757-1-kraxel@redhat.com
drivers/gpu/drm/drm_gem_shmem_helper.c