]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm: xlnx: zynqmp_dpsub: Enable plane in atomic update
authorAnatoliy Klymenko <anatoliy.klymenko@amd.com>
Thu, 23 May 2024 23:49:28 +0000 (16:49 -0700)
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Mon, 17 Jun 2024 07:37:14 +0000 (10:37 +0300)
commitfea7fad8512f4fbe0e47d9bcc84034a4c1d2f223
treee1167b5f163f126b8827db713b1a12a00003ce0e
parent4ea3deda1341fef7b923ad9cfe5dd46b1b51bfa8
drm: xlnx: zynqmp_dpsub: Enable plane in atomic update

Unconditionally enable the DPSUB layer in the corresponding atomic plane
update callback. Setting the new display mode may require disabling and
re-enabling the CRTC. This effectively resets DPSUB to the default state
with all layers disabled. The original implementation of the plane atomic
update enables the corresponding DPSUB layer only if the framebuffer
format has changed. This would leave the layer disabled after switching to
a different display mode with the same framebuffer format.

Signed-off-by: Anatoliy Klymenko <anatoliy.klymenko@amd.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240523-dp-layer-enable-v2-1-d799020098fc@amd.com
drivers/gpu/drm/xlnx/zynqmp_kms.c