mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
drm/amdgpu: print a message if ATPX dGPU power control is missing
It will help identify problematic boards. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
e9bef455af
commit
c8791a13d2
1 changed files with 4 additions and 1 deletions
|
|
@ -144,7 +144,10 @@ static int amdgpu_atpx_validate(struct amdgpu_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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue