Revert "drm/radeon: work around lack of upstream ACPI support for D3cold"

This reverts commit bdfb760400.

Now that d3cold is upstream, there is no more need for this workaround.
This commit is contained in:
Alex Deucher 2016-08-09 00:21:45 -04:00
parent c39b487f19
commit b817634276

View File

@ -198,16 +198,7 @@ static int radeon_atpx_validate(struct radeon_atpx *atpx)
atpx->is_hybrid = false; atpx->is_hybrid = false;
if (valid_bits & ATPX_MS_HYBRID_GFX_SUPPORTED) { if (valid_bits & ATPX_MS_HYBRID_GFX_SUPPORTED) {
printk("ATPX Hybrid Graphics\n"); printk("ATPX Hybrid Graphics\n");
#if 1
/* This is a temporary hack until the D3 cold support
* makes it upstream. The ATPX power_control method seems
* to still work on even if the system should be using
* the new standardized hybrid D3 cold ACPI interface.
*/
atpx->functions.power_cntl = true;
#else
atpx->functions.power_cntl = false; atpx->functions.power_cntl = false;
#endif
atpx->is_hybrid = true; atpx->is_hybrid = true;
} }