]> git.baikalelectronics.ru Git - 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)
commitcd1ca9a7fa74030a2832a5bcd088b2dbd708a4a7
tree30c3ab3e37d6b6a77046bb516ce2124672108c21
parent71fcfd291d0a7e1f6768f9ffc3918b9557db584b
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: 686b2a02509d95 ("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