* [PATCH] drm/sitronix/st7571-i2c: reset position before clearing display
@ 2025-09-13 6:09 Marcus Folkesson
2025-09-17 9:32 ` Javier Martinez Canillas
0 siblings, 1 reply; 6+ messages in thread
From: Marcus Folkesson @ 2025-09-13 6:09 UTC (permalink / raw)
To: Javier Martinez Canillas, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter
Cc: dri-devel, linux-kernel, Marcus Folkesson
We cannot know where the write pointer is, always reset position to
(0,0) before clearing display.
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
---
drivers/gpu/drm/sitronix/st7571-i2c.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/sitronix/st7571-i2c.c b/drivers/gpu/drm/sitronix/st7571-i2c.c
index a6c4a6738dedf5881328414e9d8810d3af2a6fe4..32b91d65b768b26caa7dcef42a00d36f236fbc32 100644
--- a/drivers/gpu/drm/sitronix/st7571-i2c.c
+++ b/drivers/gpu/drm/sitronix/st7571-i2c.c
@@ -263,6 +263,7 @@ static int st7571_fb_clear_screen(struct st7571_device *st7571)
u32 npixels = st7571->ncols * round_up(st7571->nlines, ST7571_PAGE_HEIGHT) * st7571->bpp;
char pixelvalue = 0x00;
+ st7571_set_position(st7571, 0, 0);
for (int i = 0; i < npixels; i++)
regmap_bulk_write(st7571->regmap, ST7571_DATA_MODE, &pixelvalue, 1);
---
base-commit: 91494dee1091a14d91da6bcb39e12a907765c793
change-id: 20250911-st7571-reset-785838285415
Best regards,
--
Marcus Folkesson <marcus.folkesson@gmail.com>
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] drm/sitronix/st7571-i2c: reset position before clearing display
2025-09-13 6:09 [PATCH] drm/sitronix/st7571-i2c: reset position before clearing display Marcus Folkesson
@ 2025-09-17 9:32 ` Javier Martinez Canillas
2025-09-18 8:54 ` Marcus Folkesson
0 siblings, 1 reply; 6+ messages in thread
From: Javier Martinez Canillas @ 2025-09-17 9:32 UTC (permalink / raw)
To: Marcus Folkesson, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter
Cc: dri-devel, linux-kernel, Marcus Folkesson
Marcus Folkesson <marcus.folkesson@gmail.com> writes:
> We cannot know where the write pointer is, always reset position to
> (0,0) before clearing display.
>
> Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
> ---
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Marcus, do you already have commit rights in drm-misc or do you want me to
apply this patch ?
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] drm/sitronix/st7571-i2c: reset position before clearing display
2025-09-17 9:32 ` Javier Martinez Canillas
@ 2025-09-18 8:54 ` Marcus Folkesson
2025-09-18 11:07 ` Javier Martinez Canillas
0 siblings, 1 reply; 6+ messages in thread
From: Marcus Folkesson @ 2025-09-18 8:54 UTC (permalink / raw)
To: Javier Martinez Canillas
Cc: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
Simona Vetter, dri-devel, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 749 bytes --]
Hello Javier,
On Wed, Sep 17, 2025 at 11:32:05AM +0200, Javier Martinez Canillas wrote:
> Marcus Folkesson <marcus.folkesson@gmail.com> writes:
>
> > We cannot know where the write pointer is, always reset position to
> > (0,0) before clearing display.
> >
> > Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
> > ---
>
> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
>
> Marcus, do you already have commit rights in drm-misc or do you want me to
> apply this patch ?
I sent a request for commit rights yesterday, once it is approved I will
apply this patch myself :-)
>
> --
> Best regards,
>
> Javier Martinez Canillas
> Core Platforms
> Red Hat
>
Best regards,
Marcus Folkesson
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] drm/sitronix/st7571-i2c: reset position before clearing display
2025-09-18 8:54 ` Marcus Folkesson
@ 2025-09-18 11:07 ` Javier Martinez Canillas
2025-10-03 6:57 ` Marcus Folkesson
0 siblings, 1 reply; 6+ messages in thread
From: Javier Martinez Canillas @ 2025-09-18 11:07 UTC (permalink / raw)
To: Marcus Folkesson
Cc: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
Simona Vetter, dri-devel, linux-kernel
Marcus Folkesson <marcus.folkesson@gmail.com> writes:
Hello Marcus,
> Hello Javier,
>
> On Wed, Sep 17, 2025 at 11:32:05AM +0200, Javier Martinez Canillas wrote:
>> Marcus Folkesson <marcus.folkesson@gmail.com> writes:
>>
>> > We cannot know where the write pointer is, always reset position to
>> > (0,0) before clearing display.
>> >
>> > Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
>> > ---
>>
>> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
>>
>> Marcus, do you already have commit rights in drm-misc or do you want me to
>> apply this patch ?
>
> I sent a request for commit rights yesterday, once it is approved I will
> apply this patch myself :-)
>
Sounds good. Thanks!
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] drm/sitronix/st7571-i2c: reset position before clearing display
2025-09-18 11:07 ` Javier Martinez Canillas
@ 2025-10-03 6:57 ` Marcus Folkesson
2025-10-03 10:04 ` Javier Martinez Canillas
0 siblings, 1 reply; 6+ messages in thread
From: Marcus Folkesson @ 2025-10-03 6:57 UTC (permalink / raw)
To: Javier Martinez Canillas
Cc: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
Simona Vetter, dri-devel, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1137 bytes --]
Hello Javier,
On Thu, Sep 18, 2025 at 01:07:18PM +0200, Javier Martinez Canillas wrote:
> Marcus Folkesson <marcus.folkesson@gmail.com> writes:
>
> Hello Marcus,
>
> > Hello Javier,
> >
> > On Wed, Sep 17, 2025 at 11:32:05AM +0200, Javier Martinez Canillas wrote:
> >> Marcus Folkesson <marcus.folkesson@gmail.com> writes:
> >>
> >> > We cannot know where the write pointer is, always reset position to
> >> > (0,0) before clearing display.
> >> >
> >> > Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
> >> > ---
> >>
> >> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
> >>
> >> Marcus, do you already have commit rights in drm-misc or do you want me to
> >> apply this patch ?
> >
> > I sent a request for commit rights yesterday, once it is approved I will
> > apply this patch myself :-)
> >
It took longer than expected to get commit rights.
Could you please apply this patch so that I could get it of my TODO-list
:-)
>
> Sounds good. Thanks!
>
> --
> Best regards,
>
> Javier Martinez Canillas
> Core Platforms
> Red Hat
Thanks,
Marcus Folkesson
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] drm/sitronix/st7571-i2c: reset position before clearing display
2025-10-03 6:57 ` Marcus Folkesson
@ 2025-10-03 10:04 ` Javier Martinez Canillas
0 siblings, 0 replies; 6+ messages in thread
From: Javier Martinez Canillas @ 2025-10-03 10:04 UTC (permalink / raw)
To: Marcus Folkesson
Cc: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
Simona Vetter, dri-devel, linux-kernel
Marcus Folkesson <marcus.folkesson@gmail.com> writes:
Hello Marcus,
> Hello Javier,
>
> On Thu, Sep 18, 2025 at 01:07:18PM +0200, Javier Martinez Canillas wrote:
>> Marcus Folkesson <marcus.folkesson@gmail.com> writes:
>>
>> Hello Marcus,
>>
>> > Hello Javier,
>> >
>> > On Wed, Sep 17, 2025 at 11:32:05AM +0200, Javier Martinez Canillas wrote:
>> >> Marcus Folkesson <marcus.folkesson@gmail.com> writes:
>> >>
>> >> > We cannot know where the write pointer is, always reset position to
>> >> > (0,0) before clearing display.
>> >> >
>> >> > Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
>> >> > ---
>> >>
>> >> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
>> >>
>> >> Marcus, do you already have commit rights in drm-misc or do you want me to
>> >> apply this patch ?
>> >
>> > I sent a request for commit rights yesterday, once it is approved I will
>> > apply this patch myself :-)
>> >
>
> It took longer than expected to get commit rights.
>
> Could you please apply this patch so that I could get it of my TODO-list
> :-)
>
Sure, pushed to drm-misc (drm-misc-next). Thanks!
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-10-03 10:04 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-13 6:09 [PATCH] drm/sitronix/st7571-i2c: reset position before clearing display Marcus Folkesson
2025-09-17 9:32 ` Javier Martinez Canillas
2025-09-18 8:54 ` Marcus Folkesson
2025-09-18 11:07 ` Javier Martinez Canillas
2025-10-03 6:57 ` Marcus Folkesson
2025-10-03 10:04 ` Javier Martinez Canillas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox