]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
drm: xlnx: zynqmp_disp: Skip the modeset for same fb
authorHyun Kwon <hyun.kwon@xilinx.com>
Fri, 29 Mar 2019 05:22:00 +0000 (22:22 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Sat, 30 Mar 2019 10:22:45 +0000 (11:22 +0100)
commitc4b7d6c966afe784e090fa66d7a7b126c2273a0b
treefbf5640601ee72d946d7d81b35267dd983f7455a
parent66158e173812a6422fcacae23dacb3c4f5611574
drm: xlnx: zynqmp_disp: Skip the modeset for same fb

Since the async update creates a separate atomic mode set, there can be
back to back atomic modeset with same fb. If the mode set is applied
twice, it ends up submitting 2 dma transactions, and it results in
jitter. This fixes it by adding the check in plane atomic update,
and using plane mode set in async update.

Signed-off-by: Hyun Kwon <hyun.kwon@xilinx.com>
Tested-by: Preetesh Parekh <preetesh.parekh@xilinx.com>
drivers/gpu/drm/xlnx/zynqmp_disp.c