OSDN Git Service

drm/shmem: drop VM_DONTDUMP
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 16 Oct 2019 11:51:55 +0000 (13:51 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 17 Oct 2019 11:59:16 +0000 (13:59 +0200)
commit5da932604dcb20f2e513ac57878dffd8399f6793
tree4209c1c0de1e9f44c2d1f447a9de852d4e716901
parent0be895893607fb3447478d6e33dfb60644195a09
drm/shmem: drop VM_DONTDUMP

Not obvious why this is needed.  According to Deniel Vetter this is most
likely a historic artefact dating back to the days where drm drivers
exposed hardware registers as mmap'able gem objects, to avoid dumping
touching those registers.  shmem gem objects surely don't need that ...

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20191016115203.20095-4-kraxel@redhat.com
drivers/gpu/drm/drm_gem_shmem_helper.c