]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/pm: adjust display configuration after powerstate
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 19 Feb 2016 23:05:10 +0000 (18:05 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Feb 2016 16:31:09 +0000 (11:31 -0500)
commit21d3d5a756c57cd714f25c35a88b2e38a3ad5756
tree4b79c6ace7f98b6277e7117bde6afa0c5b84dc0f
parent460961a888b41c782a796416d4e3fa6fba0de75b
drm/radeon/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/radeon/radeon_pm.c