drm/amdgpu/pm: update current crtc info after setting the powerstate
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Feb 2016 22:18:25 +0000 (17:18 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Mar 2016 16:01:20 +0000 (11:01 -0500)
commiteda1d1cf8d18383f19cd2b752f786120efa4768f
treec6f6415c1160d2666782cf48c7c969db3328b37a
parent6378076bcfdcd1d4f8d726d08d3fa044736873eb
drm/amdgpu/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: Jordan Lazare <Jordan.Lazare@amd.com>
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/amd/amdgpu/amdgpu_pm.c