Commit 8a309113 authored by Alex Deucher's avatar Alex Deucher

drm/radeon/dpm: powertune updates for SI

Updated powertune settings for certain SI asics.
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 0690a229
...@@ -1948,6 +1948,10 @@ static void si_initialize_powertune_defaults(struct radeon_device *rdev) ...@@ -1948,6 +1948,10 @@ static void si_initialize_powertune_defaults(struct radeon_device *rdev)
si_pi->cac_weights = cac_weights_cape_verde_pro; si_pi->cac_weights = cac_weights_cape_verde_pro;
si_pi->dte_data = dte_data_cape_verde; si_pi->dte_data = dte_data_cape_verde;
break; break;
case 0x682C:
si_pi->cac_weights = cac_weights_cape_verde_pro;
si_pi->dte_data = dte_data_sun_xt;
break;
case 0x6825: case 0x6825:
case 0x6827: case 0x6827:
si_pi->cac_weights = cac_weights_heathrow; si_pi->cac_weights = cac_weights_heathrow;
...@@ -1971,10 +1975,9 @@ static void si_initialize_powertune_defaults(struct radeon_device *rdev) ...@@ -1971,10 +1975,9 @@ static void si_initialize_powertune_defaults(struct radeon_device *rdev)
si_pi->dte_data = dte_data_venus_xt; si_pi->dte_data = dte_data_venus_xt;
break; break;
case 0x6823: case 0x6823:
si_pi->cac_weights = cac_weights_chelsea_pro;
si_pi->dte_data = dte_data_venus_pro;
break;
case 0x682B: case 0x682B:
case 0x6822:
case 0x682A:
si_pi->cac_weights = cac_weights_chelsea_pro; si_pi->cac_weights = cac_weights_chelsea_pro;
si_pi->dte_data = dte_data_venus_pro; si_pi->dte_data = dte_data_venus_pro;
break; break;
...@@ -1988,6 +1991,7 @@ static void si_initialize_powertune_defaults(struct radeon_device *rdev) ...@@ -1988,6 +1991,7 @@ static void si_initialize_powertune_defaults(struct radeon_device *rdev)
case 0x6601: case 0x6601:
case 0x6621: case 0x6621:
case 0x6603: case 0x6603:
case 0x6605:
si_pi->cac_weights = cac_weights_mars_pro; si_pi->cac_weights = cac_weights_mars_pro;
si_pi->lcac_config = lcac_mars_pro; si_pi->lcac_config = lcac_mars_pro;
si_pi->cac_override = cac_override_oland; si_pi->cac_override = cac_override_oland;
...@@ -1998,6 +2002,7 @@ static void si_initialize_powertune_defaults(struct radeon_device *rdev) ...@@ -1998,6 +2002,7 @@ static void si_initialize_powertune_defaults(struct radeon_device *rdev)
case 0x6600: case 0x6600:
case 0x6606: case 0x6606:
case 0x6620: case 0x6620:
case 0x6604:
si_pi->cac_weights = cac_weights_mars_xt; si_pi->cac_weights = cac_weights_mars_xt;
si_pi->lcac_config = lcac_mars_pro; si_pi->lcac_config = lcac_mars_pro;
si_pi->cac_override = cac_override_oland; si_pi->cac_override = cac_override_oland;
...@@ -2006,6 +2011,8 @@ static void si_initialize_powertune_defaults(struct radeon_device *rdev) ...@@ -2006,6 +2011,8 @@ static void si_initialize_powertune_defaults(struct radeon_device *rdev)
update_dte_from_pl2 = true; update_dte_from_pl2 = true;
break; break;
case 0x6611: case 0x6611:
case 0x6613:
case 0x6608:
si_pi->cac_weights = cac_weights_oland_pro; si_pi->cac_weights = cac_weights_oland_pro;
si_pi->lcac_config = lcac_mars_pro; si_pi->lcac_config = lcac_mars_pro;
si_pi->cac_override = cac_override_oland; si_pi->cac_override = cac_override_oland;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment