Commit c8791a13 authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu: print a message if ATPX dGPU power control is missing

It will help identify problematic boards.
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e9bef455
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment