drm/amd/display: Fix coding error in connector atomic check
authorMikita Lipski <mikita.lipski@amd.com>
Tue, 12 Nov 2019 14:13:20 +0000 (09:13 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Nov 2019 15:12:54 +0000 (10:12 -0500)
commit5111195ad61791bb22d8650ad7431344d9a00036
tree75091ab0c8854c9eb444c00fd1f633b6a60ce241
parenta1acc5d0942c827d38b008f2c06fcb4e03dda76d
drm/amd/display: Fix coding error in connector atomic check

[why]
For MST connector atomic check we have to check a new CRTC state
instead of an old one, when checking if CRTC is disabled to
release VCPI slots allocated.

Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c