* [PATCH] drm/sun4i: Cleanup v3s mixer config fields ordering and indentation
@ 2025-07-04 15:41 Paul Kocialkowski
2025-08-22 10:23 ` Paul Kocialkowski
0 siblings, 1 reply; 4+ messages in thread
From: Paul Kocialkowski @ 2025-07-04 15:41 UTC (permalink / raw)
To: dri-devel, linux-arm-kernel, linux-sunxi, linux-kernel
Cc: Maxime Ripard, Chen-Yu Tsai, Jernej Skrabec, Maarten Lankhorst,
Thomas Zimmermann, David Airlie, Simona Vetter, Samuel Holland,
Paul Kocialkowski
The v3s mixer config definition is a bit messy. Tidy it up.
No function change is intended.
Signed-off-by: Paul Kocialkowski <paulk@sys-base.io>
---
drivers/gpu/drm/sun4i/sun8i_mixer.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/sun4i/sun8i_mixer.c b/drivers/gpu/drm/sun4i/sun8i_mixer.c
index 8b41d33baa30..674b55f218fc 100644
--- a/drivers/gpu/drm/sun4i/sun8i_mixer.c
+++ b/drivers/gpu/drm/sun4i/sun8i_mixer.c
@@ -670,12 +670,12 @@ static const struct sun8i_mixer_cfg sun8i_r40_mixer1_cfg = {
};
static const struct sun8i_mixer_cfg sun8i_v3s_mixer_cfg = {
- .vi_num = 2,
- .ui_num = 1,
- .scaler_mask = 0x3,
- .scanline_yuv = 2048,
- .ccsc = CCSC_MIXER0_LAYOUT,
- .mod_rate = 150000000,
+ .ccsc = CCSC_MIXER0_LAYOUT,
+ .mod_rate = 150000000,
+ .scaler_mask = 0x3,
+ .scanline_yuv = 2048,
+ .ui_num = 1,
+ .vi_num = 2,
};
static const struct sun8i_mixer_cfg sun20i_d1_mixer0_cfg = {
--
2.49.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] drm/sun4i: Cleanup v3s mixer config fields ordering and indentation
2025-07-04 15:41 [PATCH] drm/sun4i: Cleanup v3s mixer config fields ordering and indentation Paul Kocialkowski
@ 2025-08-22 10:23 ` Paul Kocialkowski
2025-11-06 6:01 ` Chen-Yu Tsai
0 siblings, 1 reply; 4+ messages in thread
From: Paul Kocialkowski @ 2025-08-22 10:23 UTC (permalink / raw)
To: dri-devel, linux-arm-kernel, linux-sunxi, linux-kernel
Cc: Maxime Ripard, Chen-Yu Tsai, Jernej Skrabec, Maarten Lankhorst,
Thomas Zimmermann, David Airlie, Simona Vetter, Samuel Holland
[-- Attachment #1: Type: text/plain, Size: 1453 bytes --]
Hi,
On Fri 04 Jul 25, 17:41, Paul Kocialkowski wrote:
> The v3s mixer config definition is a bit messy. Tidy it up.
> No function change is intended.
This patch didn't make it in the previous cycle.
Would it be possible to pick it up this time?
Thanks!
Paul
> Signed-off-by: Paul Kocialkowski <paulk@sys-base.io>
> ---
> drivers/gpu/drm/sun4i/sun8i_mixer.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/gpu/drm/sun4i/sun8i_mixer.c b/drivers/gpu/drm/sun4i/sun8i_mixer.c
> index 8b41d33baa30..674b55f218fc 100644
> --- a/drivers/gpu/drm/sun4i/sun8i_mixer.c
> +++ b/drivers/gpu/drm/sun4i/sun8i_mixer.c
> @@ -670,12 +670,12 @@ static const struct sun8i_mixer_cfg sun8i_r40_mixer1_cfg = {
> };
>
> static const struct sun8i_mixer_cfg sun8i_v3s_mixer_cfg = {
> - .vi_num = 2,
> - .ui_num = 1,
> - .scaler_mask = 0x3,
> - .scanline_yuv = 2048,
> - .ccsc = CCSC_MIXER0_LAYOUT,
> - .mod_rate = 150000000,
> + .ccsc = CCSC_MIXER0_LAYOUT,
> + .mod_rate = 150000000,
> + .scaler_mask = 0x3,
> + .scanline_yuv = 2048,
> + .ui_num = 1,
> + .vi_num = 2,
> };
>
> static const struct sun8i_mixer_cfg sun20i_d1_mixer0_cfg = {
> --
> 2.49.0
>
--
Paul Kocialkowski,
Independent contractor - sys-base - https://www.sys-base.io/
Free software developer - https://www.paulk.fr/
Expert in multimedia, graphics and embedded hardware support with Linux.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] drm/sun4i: Cleanup v3s mixer config fields ordering and indentation
2025-08-22 10:23 ` Paul Kocialkowski
@ 2025-11-06 6:01 ` Chen-Yu Tsai
2025-11-06 15:03 ` Paul Kocialkowski
0 siblings, 1 reply; 4+ messages in thread
From: Chen-Yu Tsai @ 2025-11-06 6:01 UTC (permalink / raw)
To: Paul Kocialkowski, Jernej Skrabec
Cc: dri-devel, linux-arm-kernel, linux-sunxi, linux-kernel,
Maxime Ripard, Maarten Lankhorst, Thomas Zimmermann, David Airlie,
Simona Vetter, Samuel Holland
On Fri, Aug 22, 2025 at 6:24 PM Paul Kocialkowski <paulk@sys-base.io> wrote:
>
> Hi,
>
> On Fri 04 Jul 25, 17:41, Paul Kocialkowski wrote:
> > The v3s mixer config definition is a bit messy. Tidy it up.
> > No function change is intended.
>
> This patch didn't make it in the previous cycle.
> Would it be possible to pick it up this time?
I guess this is going to conflict with Jernej's refactoring / cleanup
series.
And, I think v3s is not the only one that has fields in a different order.
Might we clean this up after all the refactoring?
ChenYu
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] drm/sun4i: Cleanup v3s mixer config fields ordering and indentation
2025-11-06 6:01 ` Chen-Yu Tsai
@ 2025-11-06 15:03 ` Paul Kocialkowski
0 siblings, 0 replies; 4+ messages in thread
From: Paul Kocialkowski @ 2025-11-06 15:03 UTC (permalink / raw)
To: Chen-Yu Tsai
Cc: Jernej Skrabec, dri-devel, linux-arm-kernel, linux-sunxi,
linux-kernel, Maxime Ripard, Maarten Lankhorst, Thomas Zimmermann,
David Airlie, Simona Vetter, Samuel Holland
[-- Attachment #1: Type: text/plain, Size: 1037 bytes --]
Hi Chen-Yu,
Le Thu 06 Nov 25, 14:01, Chen-Yu Tsai a écrit :
> On Fri, Aug 22, 2025 at 6:24 PM Paul Kocialkowski <paulk@sys-base.io> wrote:
> >
> > Hi,
> >
> > On Fri 04 Jul 25, 17:41, Paul Kocialkowski wrote:
> > > The v3s mixer config definition is a bit messy. Tidy it up.
> > > No function change is intended.
> >
> > This patch didn't make it in the previous cycle.
> > Would it be possible to pick it up this time?
>
> I guess this is going to conflict with Jernej's refactoring / cleanup
> series.
>
> And, I think v3s is not the only one that has fields in a different order.
> Might we clean this up after all the refactoring?
Sure, it's better if this doesn't get in the way of the rework.
I'll send something after the rework is merged if the issue still exists.
Thanks,
Paul
--
Paul Kocialkowski,
Independent contractor - sys-base - https://www.sys-base.io/
Free software developer - https://www.paulk.fr/
Expert in multimedia, graphics and embedded hardware support with Linux.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-11-06 15:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-04 15:41 [PATCH] drm/sun4i: Cleanup v3s mixer config fields ordering and indentation Paul Kocialkowski
2025-08-22 10:23 ` Paul Kocialkowski
2025-11-06 6:01 ` Chen-Yu Tsai
2025-11-06 15:03 ` Paul Kocialkowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox