]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/amdgpu/display: use blanked rather than plane state for sync groups
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Jun 2020 21:22:48 +0000 (17:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Jun 2020 19:32:34 +0000 (15:32 -0400)
commitb7f839d292948142eaab77cedd031aad0bfec872
tree30c3ab3e37d6b6a77046bb516ce2124672108c21
parent14ed1c908a7a623cc0cbf0203f8201d1b7d31d16
drm/amdgpu/display: use blanked rather than plane state for sync groups

We may end up with no planes set yet, depending on the ordering, but we
should have the proper blanking state which is either handled by either
DPG or TG depending on the hardware generation.  Check both to determine
the proper blanked state.

Bug: https://gitlab.freedesktop.org/drm/amd/issues/781
Fixes: 5fc0cbfad45648 ("drm/amd/display: determine if a pipe is synced by plane state")
Cc: nicholas.kazlauskas@amd.com
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/dc/core/dc.c