Browse Source

drm/radeon/si: add dpm quirk for Oland

OLAND 0x1002:0x6604 0x1028:0x066F 0x00 seems to have problems
with higher sclks.

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Alex Deucher 8 years ago
parent
commit
0f424de1fd
1 changed files with 6 additions and 0 deletions
  1. 6 0
      drivers/gpu/drm/radeon/si_dpm.c

+ 6 - 0
drivers/gpu/drm/radeon/si_dpm.c

@@ -2984,6 +2984,12 @@ static void si_apply_state_adjust_rules(struct radeon_device *rdev,
 		    (rdev->pdev->device == 0x6667)) {
 		    (rdev->pdev->device == 0x6667)) {
 			max_sclk = 75000;
 			max_sclk = 75000;
 		}
 		}
+	} else if (rdev->family == CHIP_OLAND) {
+		if ((rdev->pdev->device == 0x6604) &&
+		    (rdev->pdev->subsystem_vendor == 0x1028) &&
+		    (rdev->pdev->subsystem_device == 0x066F)) {
+			max_sclk = 75000;
+		}
 	}
 	}
 
 
 	if (rps->vce_active) {
 	if (rps->vce_active) {