提交 dfc4f59d 编写于 作者: A Alex Deucher

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

It will help identify problematic boards.
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 bfaddd9f
......@@ -143,7 +143,10 @@ static int radeon_atpx_validate(struct radeon_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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册