Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski...
[linux-2.6-block.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_atpx_handler.c
index fa948dcbdd5df368789d4a67621c95dc109deee7..35a1248aaa7778a04fa64957d4d2b65a3911ab9c 100644 (file)
@@ -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;