aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChengming Gui <[email protected]>2020-10-28 17:40:34 +0800
committerAlex Deucher <[email protected]>2020-10-30 01:00:11 -0400
commit93b96255bd64ca0f65d17e7cdab204a155b8d5c4 (patch)
tree3b5d938c79bcd2d0c19e82fea67af3b37a3cdd92
parente3a8a5acb9cf1342db24272214ab7bdbdd149649 (diff)
drm/amd/amdgpu: simplify pa_sc_tile_steering_override check
Use ">= CHIP_SIENNA_CICHLID" to replace per asic check Signed-off-by: Chengming Gui <[email protected]> Reviewed-by: Hawking.Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
index e4c69125805d..f7d217de5859 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
@@ -4756,10 +4756,7 @@ static u32 gfx_v10_0_init_pa_sc_tile_steering_override(struct amdgpu_device *ade
/* for ASICs that integrates GFX v10.3
* pa_sc_tile_steering_override should be set to 0 */
- if (adev->asic_type == CHIP_SIENNA_CICHLID ||
- adev->asic_type == CHIP_NAVY_FLOUNDER ||
- adev->asic_type == CHIP_DIMGREY_CAVEFISH ||
- adev->asic_type == CHIP_VANGOGH)
+ if (adev->asic_type >= CHIP_SIENNA_CICHLID)
return 0;
/* init num_sc */