From: Tom St Denis <tom.stde...@amd.com>

According to the bringup code ST/CZ share the RLC
ENTER/EXIT logic.

Tested on my ST board.

Signed-off-by: Tom St Denis <tom.stdenis at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 
b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
index 140f057..2848583 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
@@ -6439,9 +6439,9 @@ static void gfx_v8_0_set_rlc_funcs(struct amdgpu_device 
*adev)
 {
        switch (adev->asic_type) {
        case CHIP_TOPAZ:
-       case CHIP_STONEY:
                adev->gfx.rlc.funcs = &iceland_rlc_funcs;
                break;
+       case CHIP_STONEY:
        case CHIP_CARRIZO:
                adev->gfx.rlc.funcs = &cz_rlc_funcs;
                break;
-- 
2.5.5

Reply via email to