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)
committerSasha Levin <sasha.levin@oracle.com>
Tue, 8 Mar 2016 06:14:01 +0000 (01:14 -0500)
commitae5a9780d7bee99a2968abd95ec910f31a1e82bf
treefb55d7131d0abe60d8f0c8fcc785e1e7ce633302
parentf5054278cae5abb73add17ceb7e52da48536f84b
drm/radeon/pm: adjust display configuration after powerstate

[ Upstream commit 39d4275058baf53e89203407bf3841ff2c74fa32 ]

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
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/gpu/drm/radeon/radeon_pm.c