]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
drm: xlnx: pl_disp: Added plane atomic check function
authorVenkateshwar Rao Gannavarapu <venkateshwar.rao.gannavarapu@xilinx.com>
Tue, 9 Apr 2019 19:17:57 +0000 (12:17 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 10 Apr 2019 09:06:59 +0000 (11:06 +0200)
commita746579098158847152f18146291a91f6863d31a
treeb05b07ee1cb24a8205e0ed530a01c9d3b53b20b1
parent594a62d8b39c9191199d5d271d5dbda1fbd00cc9
drm: xlnx: pl_disp: Added plane atomic check function

This patch adds the atomic check helper function to update mode
changed flag and returns error when framebuffer remove functionality
forces to commit without disable crtc.

Without this patch, new DRM framework commits without disable crtc
which leads image corruption and delay in consecutive runs.

Signed-off-by: Venkateshwar Rao Gannavarapu <venkateshwar.rao.gannavarapu@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
drivers/gpu/drm/xlnx/xlnx_pl_disp.c