diff --git a/drivers/gpu/drm/radeon/radeon_atpx_handler.c b/drivers/gpu/drm/radeon/radeon_atpx_handler.c index 485848f..777516a 100644 --- a/drivers/gpu/drm/radeon/radeon_atpx_handler.c +++ b/drivers/gpu/drm/radeon/radeon_atpx_handler.c @@ -122,6 +122,13 @@ static union acpi_object *radeon_atpx_call(acpi_handle handle, int function, */ static void radeon_atpx_parse_functions(struct radeon_atpx_functions *f, u32 mask) { + printk("atpx mask 0x%08x\n", mask); + + if (mask & ATPX_POWER_CONTROL_SUPPORTED) + printk("atpx power control supported\n"); + else + printk("atpx power control not supported\n"); + f->px_params = mask & ATPX_GET_PX_PARAMETERS_SUPPORTED; f->power_cntl = mask & ATPX_POWER_CONTROL_SUPPORTED; f->disp_mux_cntl = mask & ATPX_DISPLAY_MUX_CONTROL_SUPPORTED; @@ -180,6 +187,8 @@ static int radeon_atpx_validate(struct radeon_atpx *atpx) ATPX_DFP_SIGNAL_MUXED)) atpx->functions.disp_mux_cntl = true; + printk("valid bits 0x%08x\n", valid_bits); + kfree(info); } return 0;