Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dfc4f59d authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/radeon: 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 bfaddd9f
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -143,7 +143,10 @@ static int radeon_atpx_validate(struct radeon_atpx *atpx)
{
	/* make sure required functions are enabled */
	/* dGPU power control is required */
	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;