All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/ssd130x: fix column and row end address in partial updates of ssd132x and ssd133x devices
@ 2026-06-22 12:26 Amit Barzilai
  2026-06-22 12:26 ` [PATCH 1/3] drm/ssd130x: fix column and row end address in partial updates for ssd132x Amit Barzilai
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Amit Barzilai @ 2026-06-22 12:26 UTC (permalink / raw)
  To: Javier Martinez Canillas, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter
  Cc: Jocelyn Falempe, dri-devel, linux-kernel, Amit Barzilai

While working on adding SSD1351 support to the ssd130x driver - I
noticed that the area of the cursor was refreshing in a weird state.
I would fill the screen red while the flashing cursor was on the screen,
but the screen wouldn't refresh the entire 8x8 rectangle each flash. 

After reading the SSD1351, SSD1331 and SSD132x manuals and manual
testing on the SSD1351, I was able to be sure that the problem was the
end addresses of "Set Column/Row Address" being sent as relative addresses
instead of absolute addresses.

I assume these bugs went under the radar because testing would usually
be done where the dirty rectangles would start from the 0,0 coordinates.
In these situations, the bug would be invisable, since adresses relative
to 0 are the same as their absolute value.

It is important to note that I didn't test these changes on a SSD132x 
screen or a SSD133x screens, only on an SSD1351. Manual testing is
advised.

This series contains the fix for ssd132x_update_rect, a simple clean-up
patch for ssd132x_update_rect to keep the function clean, and the same
fix on ssd133x_update_rect.

Amit Barzilai (3):
  drm/ssd130x: fix column and row end address in partial updates for
    ssd132x
  drm/ssd130x: hoist column and row addresses out of repeated division
  drm/ssd130x: fix column and row end address in partial updates in
    ssd133x

 drivers/gpu/drm/solomon/ssd130x.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

-- 
2.54.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-07-06 10:42 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-22 12:26 [PATCH 0/3] drm/ssd130x: fix column and row end address in partial updates of ssd132x and ssd133x devices Amit Barzilai
2026-06-22 12:26 ` [PATCH 1/3] drm/ssd130x: fix column and row end address in partial updates for ssd132x Amit Barzilai
2026-06-22 12:36   ` sashiko-bot
2026-06-29  8:43     ` Amit Barzilai
2026-06-29  8:56       ` Javier Martinez Canillas
2026-06-30  9:56         ` Amit Barzilai
2026-06-30 10:30           ` Javier Martinez Canillas
2026-06-30 11:08             ` Amit Barzilai
2026-06-30 11:16               ` Javier Martinez Canillas
2026-06-22 12:26 ` [PATCH 2/3] drm/ssd130x: hoist column and row addresses out of repeated division Amit Barzilai
2026-06-22 12:26 ` [PATCH 3/3] drm/ssd130x: fix column and row end address in partial updates in ssd133x Amit Barzilai
2026-07-01 13:23 ` [PATCH 0/3] drm/ssd130x: fix column and row end address in partial updates of ssd132x and ssd133x devices Javier Martinez Canillas
2026-07-06 10:41   ` Javier Martinez Canillas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.