aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
index 3180113f49ae..f467638eb49d 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
@@ -705,14 +705,13 @@ static bool gmc_v9_0_keep_stolen_memory(struct amdgpu_device *adev)
705 * Also check code in gmc_v9_0_get_vbios_fb_size and gmc_v9_0_late_init 705 * Also check code in gmc_v9_0_get_vbios_fb_size and gmc_v9_0_late_init
706 */ 706 */
707 switch (adev->asic_type) { 707 switch (adev->asic_type) {
708 case CHIP_VEGA10:
709 return true;
708 case CHIP_RAVEN: 710 case CHIP_RAVEN:
709 return false;
710 case CHIP_VEGA12: 711 case CHIP_VEGA12:
711 return false;
712 case CHIP_VEGA10:
713 case CHIP_VEGA20: 712 case CHIP_VEGA20:
714 default: 713 default:
715 return true; 714 return false;
716 } 715 }
717} 716}
718 717