projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e16ff21
)
drm/amd/powerplay: fix issue that get wrong reference clock value.
author
Rex Zhu
<Rex.Zhu@amd.com>
Wed, 23 Mar 2016 07:12:48 +0000
(15:12 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 5 May 2016 00:29:07 +0000
(20:29 -0400)
use wrong parameter to compute the reference clock.
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c
b/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c
index 3bed991ffa40bc9e06d8d32e100fd9a03363aba6..0242e348e7554da654a15869b563deac3647956a 100644
(file)
--- a/
drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c
+++ b/
drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c
@@
-5893,7
+5893,7
@@
uint32_t tonga_get_xclk(struct pp_hwmgr *hwmgr)
if (!fw_info)
return 0;
- reference_clock = le16_to_cpu(fw_info->us
MinPixelClockPLL_Output
);
+ reference_clock = le16_to_cpu(fw_info->us
ReferenceClock
);
divide = PHM_READ_VFPF_INDIRECT_FIELD(hwmgr->device, CGS_IND_REG__SMC, CG_CLKPIN_CNTL, XTALIN_DIVIDE);