aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2014-06-06 18:58:10 -0400
committerAlex Deucher <alexander.deucher@amd.com>2014-06-09 22:06:57 -0400
commit8a309113d50290aef2e0292d3a453425b488d973 (patch)
treed1974347269579c997adc1aa54184e53f82d05e7
parent0690a229c69f40a6c9c459ab455c85df49822525 (diff)
drm/radeon/dpm: powertune updates for SI
Updated powertune settings for certain SI asics. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/radeon/si_dpm.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/si_dpm.c b/drivers/gpu/drm/radeon/si_dpm.c
index 9a3567bedaae..58918868f894 100644
--- a/drivers/gpu/drm/radeon/si_dpm.c
+++ b/drivers/gpu/drm/radeon/si_dpm.c
@@ -1948,6 +1948,10 @@ static void si_initialize_powertune_defaults(struct radeon_device *rdev)
1948 si_pi->cac_weights = cac_weights_cape_verde_pro; 1948 si_pi->cac_weights = cac_weights_cape_verde_pro;
1949 si_pi->dte_data = dte_data_cape_verde; 1949 si_pi->dte_data = dte_data_cape_verde;
1950 break; 1950 break;
1951 case 0x682C:
1952 si_pi->cac_weights = cac_weights_cape_verde_pro;
1953 si_pi->dte_data = dte_data_sun_xt;
1954 break;
1951 case 0x6825: 1955 case 0x6825:
1952 case 0x6827: 1956 case 0x6827:
1953 si_pi->cac_weights = cac_weights_heathrow; 1957 si_pi->cac_weights = cac_weights_heathrow;
@@ -1971,10 +1975,9 @@ static void si_initialize_powertune_defaults(struct radeon_device *rdev)
1971 si_pi->dte_data = dte_data_venus_xt; 1975 si_pi->dte_data = dte_data_venus_xt;
1972 break; 1976 break;
1973 case 0x6823: 1977 case 0x6823:
1974 si_pi->cac_weights = cac_weights_chelsea_pro;
1975 si_pi->dte_data = dte_data_venus_pro;
1976 break;
1977 case 0x682B: 1978 case 0x682B:
1979 case 0x6822:
1980 case 0x682A:
1978 si_pi->cac_weights = cac_weights_chelsea_pro; 1981 si_pi->cac_weights = cac_weights_chelsea_pro;
1979 si_pi->dte_data = dte_data_venus_pro; 1982 si_pi->dte_data = dte_data_venus_pro;
1980 break; 1983 break;
@@ -1988,6 +1991,7 @@ static void si_initialize_powertune_defaults(struct radeon_device *rdev)
1988 case 0x6601: 1991 case 0x6601:
1989 case 0x6621: 1992 case 0x6621:
1990 case 0x6603: 1993 case 0x6603:
1994 case 0x6605:
1991 si_pi->cac_weights = cac_weights_mars_pro; 1995 si_pi->cac_weights = cac_weights_mars_pro;
1992 si_pi->lcac_config = lcac_mars_pro; 1996 si_pi->lcac_config = lcac_mars_pro;
1993 si_pi->cac_override = cac_override_oland; 1997 si_pi->cac_override = cac_override_oland;
@@ -1998,6 +2002,7 @@ static void si_initialize_powertune_defaults(struct radeon_device *rdev)
1998 case 0x6600: 2002 case 0x6600:
1999 case 0x6606: 2003 case 0x6606:
2000 case 0x6620: 2004 case 0x6620:
2005 case 0x6604:
2001 si_pi->cac_weights = cac_weights_mars_xt; 2006 si_pi->cac_weights = cac_weights_mars_xt;
2002 si_pi->lcac_config = lcac_mars_pro; 2007 si_pi->lcac_config = lcac_mars_pro;
2003 si_pi->cac_override = cac_override_oland; 2008 si_pi->cac_override = cac_override_oland;
@@ -2006,6 +2011,8 @@ static void si_initialize_powertune_defaults(struct radeon_device *rdev)
2006 update_dte_from_pl2 = true; 2011 update_dte_from_pl2 = true;
2007 break; 2012 break;
2008 case 0x6611: 2013 case 0x6611:
2014 case 0x6613:
2015 case 0x6608:
2009 si_pi->cac_weights = cac_weights_oland_pro; 2016 si_pi->cac_weights = cac_weights_oland_pro;
2010 si_pi->lcac_config = lcac_mars_pro; 2017 si_pi->lcac_config = lcac_mars_pro;
2011 si_pi->cac_override = cac_override_oland; 2018 si_pi->cac_override = cac_override_oland;