drm/sitronix/st7571-i2c: reset position before clearing display
Subsystems (3)
Marcus Folkesson
maintainerPATCH 1/1 drm/sitronix/st7571-i2c: reset position before clearing display
We cannot know where the write pointer is, always reset position to (0,0) before clearing display.
--- drivers/gpu/drm/sitronix/st7571-i2c.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/sitronix/st7571-i2c.c +1 -0
@@ -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,
Signature · 1 line
Marcus Folkesson <[email protected]>
Quoted 5 lines · Marcus Folkesson
We cannot know where the write pointer is, always reset position to (0,0) before clearing display.
Signed-off-by Marcus Folkesson <[email protected]>---
Marcus, do you already have commit rights in drm-misc or do you want me to apply this patch ?
Signature · 5 lines
Best regards, Javier Martinez Canillas Core Platforms Red Hat
Marcus Folkesson
maintainerHello Javier,
Quoted 5 lines · Javier Martinez Canillas
Quoted 3 lines · Marcus Folkesson
We cannot know where the write pointer is, always reset position to (0,0) before clearing display.
Quoted 7 lines
Quoted 2 lines
Signed-off-by Marcus Folkesson <[email protected]>---
Reviewed-by Javier Martinez Canillas <[email protected]>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 :-)
Quoted 8 lines
Signature · 6 lines
-- Best regards, Javier Martinez Canillas Core Platforms Red Hat
Best regards,
Marcus Folkesson
Marcus Folkesson <[email protected]> writes:
Hello Marcus,
Quoted 11 lines
Hello Javier,
Quoted 8 lines · Javier Martinez Canillas
Quoted 5 lines · Marcus Folkesson
We cannot know where the write pointer is, always reset position to (0,0) before clearing display.
Signed-off-by Marcus Folkesson <[email protected]>---
Quoted 8 lines
Quoted 4 lines
Reviewed-by Javier Martinez Canillas <[email protected]>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!
Signature · 5 lines
Best regards, Javier Martinez Canillas Core Platforms Red Hat
Marcus Folkesson
maintainerHello Javier,
Quoted 23 lines · Javier Martinez Canillas
Marcus Folkesson <[email protected]> writes:
Hello Marcus,
Quoted 19 lines
Hello Javier,
Quoted 5 lines · Javier Martinez Canillas
Quoted 3 lines · Marcus Folkesson
We cannot know where the write pointer is, always reset position to (0,0) before clearing display.
Quoted 7 lines
Quoted 2 lines
Signed-off-by Marcus Folkesson <[email protected]>---
Reviewed-by Javier Martinez Canillas <[email protected]>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 :-)
Quoted 9 lines
Sounds good. Thanks!
Signature · 5 lines
Best regards, Javier Martinez Canillas Core Platforms Red Hat
Thanks,
Marcus Folkesson
Marcus Folkesson <[email protected]> writes:
Hello Marcus,
Quoted 23 lines
Hello Javier,
Quoted 20 lines · Javier Martinez Canillas
Marcus Folkesson <[email protected]> writes:
Hello Marcus,
Quoted 16 lines
Hello Javier,
Quoted 12 lines · Javier Martinez Canillas
Quoted 5 lines · Marcus Folkesson
We cannot know where the write pointer is, always reset position to (0,0) before clearing display.
Signed-off-by Marcus Folkesson <[email protected]>---
Reviewed-by Javier Martinez Canillas <[email protected]>Marcus, do you already have commit rights in drm-misc or do you want me to apply this patch ?
Quoted 9 lines
Quoted 3 lines
Quoted 3 lines
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!
Signature · 5 lines
Best regards, Javier Martinez Canillas Core Platforms Red Hat