]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Unamp the entire device address space on device unplug
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Mon, 18 Jan 2021 21:01:11 +0000 (16:01 -0500)
committerChristian König <christian.koenig@amd.com>
Tue, 19 Jan 2021 09:22:14 +0000 (10:22 +0100)
commit14e70197f8b513358f75d1b585e68025960c4984
tree3e8e5c5aea8ff87a418f8bbd999f5cf4e22b3500
parent79677cc2e5065efcab5f20520463fc1990d78aea
drm: Unamp the entire device address space on device unplug

Invalidate all BOs CPU mappings once device is removed.

v3: Move the code from TTM into drm_dev_unplug

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/414809/
Signed-off-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/drm_drv.c