]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/pm: adjust display configuration after powerstate
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 19 Feb 2016 22:55:31 +0000 (17:55 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Feb 2016 16:31:02 +0000 (11:31 -0500)
commit509c2a75628bb53bfb67f008eb2513b95e0e571a
tree302a0b0cccef35888a66b64ac6f3c6228cef9066
parent01b051e4cbddb7d4fca2d3ebf69eb2e90b3a7b3e
drm/amdgpu/pm: adjust display configuration after powerstate

set_power_state defaults to no displays, so we need to update
the display configuration after setting up the powerstate on the
first call. In most cases this is not an issue since ends up
getting called multiple times at any given modeset and the proper
order is achieved in the display changed handling at the top of
the function.

Reviewed-by: Christian König <christian.koenig@amd.com>
Acked-by: Jordan Lazare <Jordan.Lazare@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c