From: John Keeping <hidden> Date: 2016-02-22 12:23:35
If the geometry of a crtc is changing in an atomic update then we much
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 Keeping <redacted>
---
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
If the geometry of a crtc is changing in an atomic update then we much
I think "we much validate" should be "we must validate".:-)
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 Keeping<redacted>
From: John Keeping <hidden> Date: 2016-03-04 11:05:09
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 Keeping <redacted>
---
On Fri, 04 Mar 2016 09:04:57 +0800, Mark yao wrote:
On 2016?02?22? 20:22, John Keeping wrote:
quoted
If the geometry of a crtc is changing in an atomic update then we much
I think "we much validate" should be "we must validate".:-)
Yes, here's v2 with that fixed.
quoted
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.
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 Keeping <redacted>
---
On Fri, 04 Mar 2016 09:04:57 +0800, Mark yao wrote:
quoted
On 2016?02?22? 20:22, John Keeping wrote:
quoted
If the geometry of a crtc is changing in an atomic update then we much
I think "we much validate" should be "we must validate".:-)
Yes, here's v2 with that fixed.
quoted
quoted
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.