summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/powerplay
diff options
context:
space:
mode:
authorTrigger Huang <trigger.huang@amd.com>2017-08-08 06:42:51 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-08-15 14:46:17 -0400
commit41cc07cff24d55661a76efc07d70e80a97af4276 (patch)
tree63f3dc06902deac404851f6ee0bd23a1d28b8651 /drivers/gpu/drm/amd/powerplay
parent5dcd33459b0039ea0be978ce6ef3e7f5dcc778d8 (diff)
drm/amdgpu: don't finish the ring if not initialized
If a ring is not initialized, it also should not be finished. For example, in Vega10's SR-IOV environment, UVD's decode ring is not initialized, but will be finnished in amdgpu_uvd_sw_fini, because UVD driver put all the uvd decode ring's finish operation into amdgpu_uvd_sw_fini function, while not uvd_vXXX_0_sw_fini. This will lead to amdgpu module unloading failure. Signed-off-by: Trigger Huang <trigger.huang@amd.com> Reviewed-by: Monk Liu <monk.liu@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay')
0 files changed, 0 insertions, 0 deletions