]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix shadow BO restoring
authorChristian König <christian.koenig@amd.com>
Tue, 11 Sep 2018 09:50:57 +0000 (11:50 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Sep 2018 17:38:41 +0000 (12:38 -0500)
commit403009bfba45163887398652762ed1fc6645181c
tree55d50f036ed77a19acffb3f736190878c6130280
parentc33adbc7285f72dbd86aedba858e9570cd9f9c99
drm/amdgpu: fix shadow BO restoring

Don't grab the reservation lock any more and simplify the handling quite
a bit.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h