All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/radeon: Fix GPU lockups for the R7 M270
@ 2017-03-11 16:21 Umang Raghuvanshi
  2017-03-13 19:30   ` Alex Deucher
  0 siblings, 1 reply; 6+ messages in thread
From: Umang Raghuvanshi @ 2017-03-11 16:21 UTC (permalink / raw)
  To: Alex Deucher, Christian König, David Airlie, amd-gfx,
	dri-devel, linux-kernel
  Cc: Umang Raghuvanshi

Commit 3a69adfe5617 ("drm/radeon: drop oland quirks") removed
quirks for Oland but also caused a regression where M270 GPUs
would go into a lock-up when OpenGL intensive applications were used.
This reverts the change only for the M270 and fixes the lock-ups.

Signed-off-by: Umang Raghuvanshi <u@umangis.me>
---
 drivers/gpu/drm/radeon/si_dpm.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/gpu/drm/radeon/si_dpm.c b/drivers/gpu/drm/radeon/si_dpm.c
index d12b8978142f..c2c129eef3c4 100644
--- a/drivers/gpu/drm/radeon/si_dpm.c
+++ b/drivers/gpu/drm/radeon/si_dpm.c
@@ -2984,6 +2984,11 @@ static void si_apply_state_adjust_rules(struct radeon_device *rdev,
 		    (rdev->pdev->device == 0x6667)) {
 			max_sclk = 75000;
 		}
+	} else if (rdev->family == CHIP_OLAND && rdev->pdev->device == 0x6604 &&
+		   rdev->pdev->revision == 0) {
+		// Fix max_sclk and max_mclk for the Radeon R7 M270
+		max_sclk = 75000;
+		max_mclk = 80000;
 	}
 
 	if (rps->vce_active) {
-- 
2.12.0

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-03-14 14:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-11 16:21 [PATCH] drm/radeon: Fix GPU lockups for the R7 M270 Umang Raghuvanshi
2017-03-13 19:30 ` Alex Deucher
2017-03-13 19:30   ` Alex Deucher
2017-03-14  2:42   ` Umang Raghuvanshi
2017-03-14 14:34     ` Alex Deucher
2017-03-14 14:34       ` Alex Deucher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.