drm/amdgpu: make cyan skillfish support code more consistent
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Feb 2022 20:44:19 +0000 (15:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 16 Feb 2022 22:30:02 +0000 (17:30 -0500)
commitdfcc3e8c24cc1fcdf9e14ef98803e295b5e4f721
tree3168a2571eec615743f47100ea5a2c48733c4cb5
parentfdda8f3406f98fd087784f9516b3825bb4b5f6ad
drm/amdgpu: make cyan skillfish support code more consistent

Since this is an existing asic, adjust the code to follow
the same logic as previously so the driver state is consistent.

No functional change intended.

Acked-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_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c