Skip to contentSkip to conversation

drm/radeon: fix si_enable_smc_cac() failed issue

PATCH In review Alex Deucher 2 participants 3 messages Oct 30, 2019 – Nov 6, 2019 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/radeon: fix si_enable_smc_cac() failed issue

Need to set the dte flag on this asic.

Port the fix from amdgpu:
5cb818b861be114148e8dbeb4259698148019dd1

---
 drivers/gpu/drm/radeon/si_dpm.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/radeon/si_dpm.c +1 -0
index 460fd98e40a7..a0b382a637a6 100644
@@ -1958,6 +1958,7 @@ static void si_initialize_powertune_defaults(struct radeon_device *rdev)
 		case 0x682C:
 			si_pi->cac_weights = cac_weights_cape_verde_pro;
 			si_pi->dte_data = dte_data_sun_xt;
+			update_dte_from_pl2 = true;
 			break;
 		case 0x6825:
 		case 0x6827:
Signature · 6 lines
2.23.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 20191030142241.1575786-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org

#2 lore raw

Ping?

Quoted 24 lines · Alex Deucher

Need to set the dte flag on this asic.

Port the fix from amdgpu:
5cb818b861be114148e8dbeb4259698148019dd1

---
 drivers/gpu/drm/radeon/si_dpm.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/radeon/si_dpm.c +1 -1
index 460fd98e40a7..a0b382a637a6 100644
@@ -1958,6 +1958,7 @@ static void si_initialize_powertune_defaults(struct radeon_device *rdev)
                case 0x682C:
                        si_pi->cac_weights = cac_weights_cape_verde_pro;
                        si_pi->dte_data = dte_data_sun_xt;
+                       update_dte_from_pl2 = true;
                        break;
                case 0x6825:
                case 0x6827:
--
Quoted 2 lines

2.23.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reviewed-by Yong Zhao
#3 lore raw
In reply to a message not in the archive
Quoted 15 lines · Alex Deucher

Need to set the dte flag on this asic.

Port the fix from amdgpu:
5cb818b861be114148e8dbeb4259698148019dd1

---
  drivers/gpu/drm/radeon/si_dpm.c | 1 +
  1 file changed, 1 insertion(+)
drivers/gpu/drm/radeon/si_dpm.c +0 -0
index 460fd98e40a7..a0b382a637a6 100644

drivers/gpu/drm/radeon/si_dpm.c static void si_initialize_powertune_defaults(struct radeon_device *rdev) · line 1964

Quoted 7 lines
drivers/gpu/drm/radeon/si_dpm.c +1 -0
@@ -1958,6 +1958,7 @@ static void si_initialize_powertune_defaults(struct radeon_device *rdev)
  		case 0x682C:
  			si_pi->cac_weights = cac_weights_cape_verde_pro;
  			si_pi->dte_data = dte_data_sun_xt;
+			update_dte_from_pl2 = true;
  			break;
  		case 0x6825:
  		case 0x6827:

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx