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:
62fa44b
)
drm/radeon/sumo: implement support for disable_gfx_power_gating_in_uvd flag
author
Alex Deucher
<alexander.deucher@amd.com>
Wed, 3 Jul 2013 19:14:25 +0000
(15:14 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 3 Jul 2013 21:37:31 +0000
(17:37 -0400)
Some asic revisions need to disable PG when UVD is active.
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 b13448f13ee8886bd4b12d8a90152065255aeea6..dc599060a9a49033be448a2f7e7f9be12e5f71ec 100644
(file)
--- a/
drivers/gpu/drm/radeon/sumo_dpm.c
+++ b/
drivers/gpu/drm/radeon/sumo_dpm.c
@@
-824,7
+824,9
@@
static void sumo_setup_uvd_clocks(struct radeon_device *rdev,
radeon_set_uvd_clocks(rdev, new_rps->vclk, new_rps->dclk);
if (pi->enable_gfx_power_gating) {
- sumo_gfx_powergating_enable(rdev, true);
+ if (!pi->disable_gfx_power_gating_in_uvd ||
+ !r600_is_uvd_state(new_rps->class, new_rps->class2))
+ sumo_gfx_powergating_enable(rdev, true);
}
}