diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2019-10-30 10:21:28 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-11-06 22:06:23 -0500 |
commit | 2c409ba81be25516afe05ae27a4a15da01740b01 (patch) | |
tree | f85625d6078c2493cec2da2a5f75a61a66a96212 | |
parent | 77a31602216e0368307dd2e79427dd1c9ca74a8e (diff) |
drm/radeon: fix si_enable_smc_cac() failed issue
Need to set the dte flag on this asic.
Port the fix from amdgpu:
5cb818b861be114 ("drm/amd/amdgpu: fix si_enable_smc_cac() failed issue")
Reviewed-by: Yong Zhao <yong.zhao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
-rw-r--r-- | drivers/gpu/drm/radeon/si_dpm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/si_dpm.c b/drivers/gpu/drm/radeon/si_dpm.c index 460fd98e40a7..a0b382a637a6 100644 --- a/drivers/gpu/drm/radeon/si_dpm.c +++ b/drivers/gpu/drm/radeon/si_dpm.c | |||
@@ -1958,6 +1958,7 @@ static void si_initialize_powertune_defaults(struct radeon_device *rdev) | |||
1958 | case 0x682C: | 1958 | case 0x682C: |
1959 | si_pi->cac_weights = cac_weights_cape_verde_pro; | 1959 | si_pi->cac_weights = cac_weights_cape_verde_pro; |
1960 | si_pi->dte_data = dte_data_sun_xt; | 1960 | si_pi->dte_data = dte_data_sun_xt; |
1961 | update_dte_from_pl2 = true; | ||
1961 | break; | 1962 | break; |
1962 | case 0x6825: | 1963 | case 0x6825: |
1963 | case 0x6827: | 1964 | case 0x6827: |