Skip to content

Commit 78b0351

Browse files
committed
drm/radeon/dpm: reduce r7xx vblank mclk threshold to 200
Most laptops seems to have a vblank period of less than 300 and mclk switching works fine. Drop the quirk and set the default threshold to 200. bug: https://bugzilla.kernel.org/show_bug.cgi?id=70701 Signed-off-by: Alex Deucher <[email protected]>
1 parent bea61c5 commit 78b0351

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

drivers/gpu/drm/radeon/rv770_dpm.c

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2526,14 +2526,7 @@ u32 rv770_dpm_get_mclk(struct radeon_device *rdev, bool low)
25262526
bool rv770_dpm_vblank_too_short(struct radeon_device *rdev)
25272527
{
25282528
u32 vblank_time = r600_dpm_get_vblank_time(rdev);
2529-
u32 switch_limit = 300;
2530-
2531-
/* quirks */
2532-
/* ASUS K70AF */
2533-
if ((rdev->pdev->device == 0x9553) &&
2534-
(rdev->pdev->subsystem_vendor == 0x1043) &&
2535-
(rdev->pdev->subsystem_device == 0x1c42))
2536-
switch_limit = 200;
2529+
u32 switch_limit = 200; /* 300 */
25372530

25382531
/* RV770 */
25392532
/* mclk switching doesn't seem to work reliably on desktop RV770s */

0 commit comments

Comments
 (0)