drm/radeon/pm: update current crtc info after setting the powerstate
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Feb 2016 22:38:38 +0000 (17:38 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Mar 2016 16:01:21 +0000 (11:01 -0500)
commit5e031d9fe8b0741f11d49667dfc3ebf5454121fd
tree3431b8c4d5a802351f11a29ca0e64e5ffa5a73d4
parenteda1d1cf8d18383f19cd2b752f786120efa4768f
drm/radeon/pm: update current crtc info after setting the powerstate

On CI, we need to see if the number of crtcs changes to determine
whether or not we need to upload the mclk table again.  In practice
we don't currently upload the mclk table again after the initial load.
The only reason you would would be to add new states, e.g., for
arbitrary mclk setting which is not currently supported.

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