[PATCH v2] drm/rockchip: vop: fix crtc size in plane check

2016-03-14 Thread Mark yao
On 2016年03月04日 19:04, John Keeping wrote: > If the geometry of a crtc is changing in an atomic update then we must > validate the plane size against the new state of the crtc and not the > current size, otherwise if the crtc size is increasing the plane will be > cropped at the previous size

[PATCH v2] drm/rockchip: vop: fix crtc size in plane check

2016-03-04 Thread John Keeping
If the geometry of a crtc is changing in an atomic update then we must validate the plane size against the new state of the crtc and not the current size, otherwise if the crtc size is increasing the plane will be cropped at the previous size and will not fill the screen. Signed-off-by: John Keepi