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:
bfaddd9
)
drm/radeon: print a message if ATPX dGPU power control is missing
author
Alex Deucher
<
[email protected]
>
Mon, 18 Apr 2016 15:26:26 +0000
(11:26 -0400)
committer
Alex Deucher
<
[email protected]
>
Mon, 18 Apr 2016 15:26:26 +0000
(11:26 -0400)
It will help identify problematic boards.
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/radeon/radeon_atpx_handler.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_atpx_handler.c
b/drivers/gpu/drm/radeon/radeon_atpx_handler.c
index 56482e35d43e334d7b2a8bc170a241f4a5643d96..95f4fea893021cb8f233244404fed6878742dd3b 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_atpx_handler.c
+++ b/
drivers/gpu/drm/radeon/radeon_atpx_handler.c
@@
-143,7
+143,10
@@
static int radeon_atpx_validate(struct radeon_atpx *atpx)
{
/* make sure required functions are enabled */
/* dGPU power control is required */
- atpx->functions.power_cntl = true;
+ if (atpx->functions.power_cntl == false) {
+ printk("ATPX dGPU power cntl not present, forcing\n");
+ atpx->functions.power_cntl = true;
+ }
if (atpx->functions.px_params) {
union acpi_object *info;