drm/rcar-du: Update plane pitch in .mode_set_base() operation
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 13 Nov 2013 13:26:01 +0000 (14:26 +0100)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 2 Dec 2013 00:27:26 +0000 (01:27 +0100)
commiteb86301f293da3c362db729a9f40ddb25755902b
treee91f19965d29feaf4564706688b42ad65730fb30
parentf5abcc4674c3aa9d745772bb3fd51db60c93161f
drm/rcar-du: Update plane pitch in .mode_set_base() operation

When setting a new frame buffer with the mode set base operation the
pitch value might change. Set the hardware plane pitch register at the
same time as the plane base address in the rcar_du_plane_update_base()
function to make sure the pitch value always matches the frame buffer.

Cc: stable@vger.kernel.org
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_crtc.c
drivers/gpu/drm/rcar-du/rcar_du_plane.c