Commit 78b03510 authored by Alex Deucher's avatar Alex Deucher

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=70701Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent bea61c59
...@@ -2526,14 +2526,7 @@ u32 rv770_dpm_get_mclk(struct radeon_device *rdev, bool low) ...@@ -2526,14 +2526,7 @@ u32 rv770_dpm_get_mclk(struct radeon_device *rdev, bool low)
bool rv770_dpm_vblank_too_short(struct radeon_device *rdev) bool rv770_dpm_vblank_too_short(struct radeon_device *rdev)
{ {
u32 vblank_time = r600_dpm_get_vblank_time(rdev); u32 vblank_time = r600_dpm_get_vblank_time(rdev);
u32 switch_limit = 300; u32 switch_limit = 200; /* 300 */
/* quirks */
/* ASUS K70AF */
if ((rdev->pdev->device == 0x9553) &&
(rdev->pdev->subsystem_vendor == 0x1043) &&
(rdev->pdev->subsystem_device == 0x1c42))
switch_limit = 200;
/* RV770 */ /* RV770 */
/* mclk switching doesn't seem to work reliably on desktop RV770s */ /* mclk switching doesn't seem to work reliably on desktop RV770s */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment