projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a26f9a
)
drm/radeon: use drm_mode_vrefresh() rather than mode->vrefresh
author
Alex Deucher
<alexander.deucher@amd.com>
Wed, 18 Feb 2015 06:05:30 +0000
(
01:05
-0500)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 25 Feb 2015 21:06:05 +0000
(16:06 -0500)
Just in case it hasn't been calculated for the mode.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/r600_dpm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/r600_dpm.c
b/drivers/gpu/drm/radeon/r600_dpm.c
index 843b65f46ece168a8694a8a86a974befda12290b..fa2154493cf1537dee269149b1924468a6035325 100644
(file)
--- a/
drivers/gpu/drm/radeon/r600_dpm.c
+++ b/
drivers/gpu/drm/radeon/r600_dpm.c
@@
-188,7
+188,7
@@
u32 r600_dpm_get_vrefresh(struct radeon_device *rdev)
list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
radeon_crtc = to_radeon_crtc(crtc);
if (crtc->enabled && radeon_crtc->enabled && radeon_crtc->hw_mode.clock) {
- vrefresh =
radeon_crtc->hw_mode.vrefresh
;
+ vrefresh =
drm_mode_vrefresh(&radeon_crtc->hw_mode)
;
break;
}
}