Re: [PATCH] drm/rockchip: vop: reset scale mode when win is disabled

From: Heiko Stübner
Date: Mon Mar 18 2019 - 14:05:00 EST


Hi Jonas,

Am Mittwoch, 20. Februar 2019, 23:40:06 CET schrieb Jonas Karlman:
> NV12 framebuffers produced by the VPU shows distorted on RK3288
> after win has been disabled when scaling is active.
>
> This issue can be reproduced using a 1080p modeset by:
> - Scale a 1280x720 NV12 framebuffer to 1920x1080 on win0
> - Disable win0
> - Display a 1920x1080 NV12 framebuffer without scaling on win0
> - Output will now show the framebuffer distorted
>
> And by:
> - Scale a 1280x720 NV12 framebuffer to 1920x1080
> - Change to a 720p modeset (win gets disabled and scaling reset to none)
> - Output will now show the framebuffer distorted
>
> Fix this by setting scale mode to none when win is disabled.
>
> Fixes: 4c156c21c794 ("drm/rockchip: vop: support plane scale")
> Signed-off-by: Jonas Karlman <jonas@xxxxxxxxx>

applied to drm-misc-fixes - sorry it took so long to test and apply.

Thanks
Heiko