drm/amdgpu/vcn: finish delay work before release resources
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Nov 2019 20:48:48 +0000 (15:48 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Nov 2019 20:29:42 +0000 (15:29 -0500)
commit622b2a0ab647d2755f2c1f1000d3403e86a69763
tree417e232322437181e7d987e33c3c0403c65a8c4e
parentfddbfb1c6503b5218cec4b2bfa71ebd8177d97ba
drm/amdgpu/vcn: finish delay work before release resources

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

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c