]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
drm: xlnx: pl_disp: Enable early callback
authorVishal Sagar <vishal.sagar@xilinx.com>
Sat, 13 Oct 2018 06:32:42 +0000 (12:02 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 7 Nov 2018 10:06:01 +0000 (11:06 +0100)
commit945da215e6055db2b8126d4e5b82241d9dd6557d
tree294346317a2db10ee8e0c9e6e54bdc765f8059ba
parent99df3ae2b6ba6d24c7a790768998118a582242ef
drm: xlnx: pl_disp: Enable early callback

Patch adds support for enabling early callback. This enables the
user space applications like kmssink plugin that queue up only one
buffer at a time to not drop any frames due to timeout receiving
vblank event from the driver.
The side effect of enabling this behavior is that the buffer whose
callback function has been called may actually still be scanning
out.

Signed-off-by: Vishal Sagar <vishal.sagar@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/gpu/drm/xlnx/xlnx_pl_disp.c