Skip to content
/ linux Public

Commit c18eef4

Browse files
alexdeuchergregkh
authored andcommitted
drm/radeon: apply state adjust rules to some additional HAINAN vairants
commit 86650ee upstream. They need a similar workaround. Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/1839 Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 87327658c848f56eac166cb382b57b83bf06c5ac) Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 772f365 commit c18eef4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/gpu/drm/radeon/si_dpm.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2915,9 +2915,11 @@ static void si_apply_state_adjust_rules(struct radeon_device *rdev,
29152915
if (rdev->family == CHIP_HAINAN) {
29162916
if ((rdev->pdev->revision == 0x81) ||
29172917
(rdev->pdev->revision == 0xC3) ||
2918+
(rdev->pdev->device == 0x6660) ||
29182919
(rdev->pdev->device == 0x6664) ||
29192920
(rdev->pdev->device == 0x6665) ||
2920-
(rdev->pdev->device == 0x6667)) {
2921+
(rdev->pdev->device == 0x6667) ||
2922+
(rdev->pdev->device == 0x666F)) {
29212923
max_sclk = 75000;
29222924
}
29232925
if ((rdev->pdev->revision == 0xC3) ||

0 commit comments

Comments
 (0)