]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: finish delay works before release resources
authorJesse Zhang <zhexi.zhang@amd.com>
Fri, 8 Nov 2019 10:06:07 +0000 (18:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Nov 2019 22:38:13 +0000 (17:38 -0500)
commit04815e06c718542b250fa23103e88004f156ed89
tree0cd178c92f20a7f067d78bc372a0d44941eec286
parent9723141bce9041a4f8ef1b12bc5b6b732cdb2c77
drm/amd/amdgpu: finish delay works before release resources

flush/cancel delayed works before doing finalization
to avoid concurrently requests.

Signed-off-by: Jesse Zhang <zhexi.zhang@amd.com>
Reviewed-by: Christian König <christian.koenig@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_uvd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c