]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
drm: xilinx: plane: commit for each plane update
authorHyun Kwon <hyun.kwon@xilinx.com>
Wed, 2 Aug 2017 01:32:48 +0000 (18:32 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 2 Aug 2017 06:45:53 +0000 (08:45 +0200)
The dma descriptor should be updated for every plane update
request. Call the plane commit to schedule the descriptor
with the latest framebuffer information.

Signed-off-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/gpu/drm/xilinx/xilinx_drm_plane.c

index 0e8c926de646c409d36689283289768ee0628159..32190ce8c446b1a86c316849f726036e30162f8b 100644 (file)
@@ -357,6 +357,7 @@ static int xilinx_drm_plane_update(struct drm_plane *base_plane,
 
        /* make sure a plane is on */
        xilinx_drm_plane_dpms(base_plane, DRM_MODE_DPMS_ON);
+       xilinx_drm_plane_commit(base_plane);
 
        return 0;
 }