Re: [PATCH] drm/sun4i: sun8i: Add the ability to keep scaler enabled for VI layer

2022-06-03 Thread Maxime Ripard
On Fri, Jun 03, 2022 at 11:57:35AM +0300, Roman Stratiienko wrote: > Hi Maxime, > > пт, 3 июн. 2022 г. в 11:24, Maxime Ripard : > > > > Hi, > > > > On Thu, Jun 02, 2022 at 06:01:18PM +, Roman Stratiienko wrote: > > > According to DE2.0/DE3.0 manual VI scaler enable register is double > > >

Re: [PATCH] drm/sun4i: sun8i: Add the ability to keep scaler enabled for VI layer

2022-06-03 Thread Roman Stratiienko
Hi Maxime, пт, 3 июн. 2022 г. в 11:24, Maxime Ripard : > > Hi, > > On Thu, Jun 02, 2022 at 06:01:18PM +, Roman Stratiienko wrote: > > According to DE2.0/DE3.0 manual VI scaler enable register is double > > buffered, but de facto it doesn't, or the hardware has the shadow > > register latching

Re: [PATCH] drm/sun4i: sun8i: Add the ability to keep scaler enabled for VI layer

2022-06-03 Thread Maxime Ripard
Hi, On Thu, Jun 02, 2022 at 06:01:18PM +, Roman Stratiienko wrote: > According to DE2.0/DE3.0 manual VI scaler enable register is double > buffered, but de facto it doesn't, or the hardware has the shadow > register latching issues which causes single-frame picture corruption > after changing

Re: [PATCH] drm/sun4i: sun8i: Add the ability to keep scaler enabled for VI layer

2022-06-03 Thread Roman Stratiienko
Hi Ondrej, пт, 3 июн. 2022 г. в 00:55, Ondřej Jirman : > > Hi Roman, > > On Thu, Jun 02, 2022 at 06:01:18PM +, Roman Stratiienko wrote: > > According to DE2.0/DE3.0 manual VI scaler enable register is double > > buffered, but de facto it doesn't, or the hardware has the shadow > > register

Re: [PATCH] drm/sun4i: sun8i: Add the ability to keep scaler enabled for VI layer

2022-06-02 Thread Ondřej Jirman
Hi Roman, On Thu, Jun 02, 2022 at 06:01:18PM +, Roman Stratiienko wrote: > According to DE2.0/DE3.0 manual VI scaler enable register is double > buffered, but de facto it doesn't, or the hardware has the shadow > register latching issues which causes single-frame picture corruption > after

[PATCH] drm/sun4i: sun8i: Add the ability to keep scaler enabled for VI layer

2022-06-02 Thread Roman Stratiienko
According to DE2.0/DE3.0 manual VI scaler enable register is double buffered, but de facto it doesn't, or the hardware has the shadow register latching issues which causes single-frame picture corruption after changing the state of scaler enable register. Allow the user to keep the scaler always