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:
d70229f
)
drm/radeon/dpm: let atom control display phy powergating
author
Alex Deucher
<alexander.deucher@amd.com>
Tue, 27 Nov 2012 17:10:35 +0000
(12:10 -0500)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 27 Jun 2013 23:15:46 +0000
(19:15 -0400)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/sumo_dpm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/sumo_dpm.c
b/drivers/gpu/drm/radeon/sumo_dpm.c
index 7ab60068396eb2a09a6d37a04b530d7bcc4e7e20..69792e4ac1cede89995a32acf315edccdd7a5905 100644
(file)
--- a/
drivers/gpu/drm/radeon/sumo_dpm.c
+++ b/
drivers/gpu/drm/radeon/sumo_dpm.c
@@
-813,6
+813,12
@@
static void sumo_program_bootup_state(struct radeon_device *rdev)
void sumo_take_smu_control(struct radeon_device *rdev, bool enable)
{
+/* This bit selects who handles display phy powergating.
+ * Clear the bit to let atom handle it.
+ * Set it to let the driver handle it.
+ * For now we just let atom handle it.
+ */
+#if 0
u32 v = RREG32(DOUT_SCRATCH3);
if (enable)
@@
-821,6
+827,7
@@
void sumo_take_smu_control(struct radeon_device *rdev, bool enable)
v &= 0xFFFFFFFB;
WREG32(DOUT_SCRATCH3, v);
+#endif
}
static void sumo_enable_sclk_ds(struct radeon_device *rdev, bool enable)