]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerJiri Slaby <jslaby@suse.cz>
Thu, 3 Mar 2016 11:46:04 +0000 (12:46 +0100)
commit759ff5dccf67b3617eecd9dd85ec74f2dac37d09
tree547f3bbd381cd65994386fdc6a4a2561e70135c5
parent84a0ab7203b29d5d37671692c25b8d1458da4d71
drm/radeon/pm: adjust display configuration after powerstate

commit 39d4275058baf53e89203407bf3841ff2c74fa32 upstream.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/gpu/drm/radeon/radeon_pm.c