Re: [PATCH v2 1/4] drm/sun4i: Reimplement plane z position setting logic

2019-12-31 Thread Jernej Škrabec
Hi! Dne nedelja, 29. december 2019 ob 17:28:25 CET je roman.stratiie...@globallogic.com napisal(a): > From: Roman Stratiienko > > To set blending channel order register software needs to know state and > position of each channel, which impossible at plane commit stage. > > Move this procedure

Re: [PATCH v2 1/4] drm/sun4i: Reimplement plane z position setting logic

2019-12-31 Thread Roman Stratiienko
Please HOLD this until v3. I forgot about blender channel frame coords that updated according to zpos and can have gap between channels. I will also try to simplify this patch. On Sun, Dec 29, 2019 at 6:28 PM wrote: > > From: Roman Stratiienko > > To set blending channel order register software

Re: [PATCH v2 1/4] drm/sun4i: Reimplement plane z position setting logic

2019-12-31 Thread Roman Stratiienko
False alarm. Since DRM sets normalized ZPOS there should be no gaps and all should work as expected. On Mon, Dec 30, 2019 at 1:25 PM Roman Stratiienko wrote: > > Please HOLD this until v3. > I forgot about blender channel frame coords that updated according to > zpos and can have gap between chan

[PATCH v2 1/4] drm/sun4i: Reimplement plane z position setting logic

2019-12-31 Thread roman . stratiienko
From: Roman Stratiienko To set blending channel order register software needs to know state and position of each channel, which impossible at plane commit stage. Move this procedure to atomic_flush stage, where all necessary information is available. Fixes: f88c5ee77496 ("drm/sun4i: Implement z