[PATCH v5 1/2] drm/sun4i: Add alpha property for sun8i UI layer

2021-01-28 Thread Roman Stratiienko
DE2.0 and DE3.0 UI layers supports plane-global alpha channel. Add alpha property to the DRM plane and connect it to the corresponding registers in mixer. Signed-off-by: Roman Stratiienko Reviewed-by: Jernej Skrabec --- drivers/gpu/drm/sun4i/sun8i_ui_layer.c | 29

[PATCH v5 2/2] drm/sun4i: Add alpha property for sun8i and sun50i VI layer

2021-01-28 Thread Roman Stratiienko
2 VI planes. Signed-off-by: Roman Stratiienko Reviewed-by: Jernej Skrabec --- drivers/gpu/drm/sun4i/sun8i_vi_layer.c | 48 +- drivers/gpu/drm/sun4i/sun8i_vi_layer.h | 11 ++ 2 files changed, 51 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/sun4i

[PATCH v5 0/2] Implement DE2.0 and DE3.0 per-plane alpha support

2021-01-28 Thread Roman Stratiienko
Please review/merge. v2: Initial patch v3: - Skip adding & applying alpha property if VI count > 1 (v3s case) v4: Resend (author's email changed) v5: Resend drivers/gpu/drm/sun4i/sun8i_ui_layer.c | 29 + drivers/gpu/drm/sun4i/sun8i_ui_layer.h | 5 + drivers/gpu

[PATCH] RFC: arm64: arch_timer: Fix timer inconsistency test for A64

2020-09-29 Thread Roman Stratiienko
35525:467099845 1601335525:467100637 1601335525:467101387 1601335525:467102179 1601335525:467102929 ''' Signed-off-by: Roman Stratiienko CC: linux-arm-ker...@lists.infradead.org CC: linux-kernel@vger.kernel.org CC: linux-su...@googlegroups.com CC: meg...@megous.com --- drivers/cl

Re: [PATCH] drm/sun4i: Fix DE2 YVU handling

2020-09-02 Thread Roman Stratiienko
ср, 2 сент. 2020 г. в 19:46, Jernej Škrabec : > > Dne sreda, 02. september 2020 ob 09:01:17 CEST je Roman Stratiienko > napisal(a): > > ср, 2 сент. 2020 г. в 00:58, Jernej Skrabec : > > > Function sun8i_vi_layer_get_csc_mode() is supposed to return CSC mode > > >

Re: [PATCH] drm/sun4i: Fix DE2 YVU handling

2020-09-02 Thread Roman Stratiienko
b ("drm/sun4i: de2: csc_mode in de2 format struct is mostly > redundant") > Reported-by: Roman Stratiienko > Signed-off-by: Jernej Skrabec > --- > drivers/gpu/drm/sun4i/sun8i_vi_layer.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers

[PATCH] RFC: sun4i/drm: Swap back U and V channels for DRM_FORMAT_YVU4xx

2020-09-01 Thread Roman Stratiienko
Fixes: e1ef9006663b ("drm/sun4i: Wire in DE2 YUV support") Signed-off-by: Roman Stratiienko --- CC: meg...@megous.com CC: jernej.skra...@gmail.com CC: linux-su...@googlegroups.com CC: dri-de...@lists.freedesktop.org CC: linux-arm-ker...@lists.infradead.org CC: linux-kernel@vger.kern

[PATCH] drm/sun4i: Use vi plane as primary

2019-09-19 Thread roman . stratiienko
From: Roman Stratiienko DE2.0 blender does not take into the account alpha channel of vi layer. Thus makes overlaying of this layer totally opaque. Using vi layer as bottom solves this issue. Tested on Android. Signed-off-by: Roman Stratiienko --- drivers/gpu/drm/sun4i/sun8i_ui_layer.c | 33

Re: [PATCH 2/2] nbd: add support for nbd as root device

2019-06-13 Thread Roman Stratiienko
> I don't doubt you have a good reason to want it, I'm just not clear on why an > initramfs isn't an option? You have this special kernel with your special > option, and you manage to get these things to boot your special kernel right? > So why is a initramfs with a tiny nbd-client binary in there

Re: [PATCH 2/2] nbd: add support for nbd as root device

2019-06-13 Thread Roman Stratiienko
On Thu, Jun 13, 2019 at 6:14 PM Eric Blake wrote: > > On 6/13/19 9:45 AM, Roman Stratiienko wrote: > > >> > >> Just throw nbd-client in your initramfs. Every nbd server has it's own > >> handshake protocol, embedding one particular servers handshake prot

[PATCH v2] rtc: test: enable wakeup flags

2019-05-15 Thread roman . stratiienko
From: Roman Stratiienko Alarmtimer interface uses only the RTC with wekeup flags enabled. Allow to use rtc-test driver with alarmtimer interface. Signed-off-by: Roman Stratiienko --- Changes in v2: Wakeup flags applied only for the RTCs with alarm support drivers/rtc/rtc-test.c | 1 + 1

Re: [PATCH] rtc: test: enable wakeup flags

2019-05-15 Thread Roman Stratiienko
gic.com wrote: > > From: Roman Stratiienko > > > > Alarmtimer interface uses only the RTC with wekeup flags enabled. > > Allow to use rtc-test driver with alarmtimer interface. > > > > Signed-off-by: Roman Stratiienko > > --- > > drivers/rtc/rtc-

[PATCH] rtc: test: enable wakeup flags

2019-05-15 Thread roman . stratiienko
From: Roman Stratiienko Alarmtimer interface uses only the RTC with wekeup flags enabled. Allow to use rtc-test driver with alarmtimer interface. Signed-off-by: Roman Stratiienko --- drivers/rtc/rtc-test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/rtc/rtc-test.c b/drivers