Comment # 8 on bug 98505 from
Comment on attachment 127678 [details] [review]
amdgpu patch that checks whether the new interface can be used for PM

Review of attachment 127678 [details] [review]:
-----------------------------------------------------------------

::: drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
@@ +206,5 @@
>  	atpx->is_hybrid = false;
>  	if (valid_bits & ATPX_MS_HYBRID_GFX_SUPPORTED) {
>  		printk("ATPX Hybrid Graphics\n");
> +		/* Disable legacy PM methods only when pcie port PM is usable. */
> +		atpx->functions.power_cntl = !amdgpu_atpx_priv->bridge_pm_usable;

With this replaced by 
atpx->functions.power_cntl = !amdgpu_atpx_priv.bridge_pm_usable;

The patch fixes the issue. :)


You are receiving this mail because: