dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] drm/panel: novatek-nt35560: Fix bug and clean up
@ 2025-07-30  6:17 Brigham Campbell
  2025-07-30  6:17 ` [PATCH v3 1/3] drm/panel: novatek-nt35560: Fix invalid return value Brigham Campbell
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Brigham Campbell @ 2025-07-30  6:17 UTC (permalink / raw)
  To: maarten.lankhorst, mripard, tzimmermann, airlied, simona,
	linus.walleij, neil.armstrong, jessica.zhang, sam
  Cc: dianders, skhan, linux-kernel-mentees, dri-devel, linux-kernel,
	Brigham Campbell

Fix bug in novatek-nt35560 driver's nt35560_set_brightness() which
causes the driver to incorrectly report that it "failed to disable
display backlight".

Add mipi_dsi_dcs_read_multi() to drm_mipi_dsi.c for improved error
handling in drivers which use mipi_dsi_dcs_read() multiple times in a
row. Add mipi_dsi_dcs_write_var_seq_multi() and
mipi_dsi_generic_write_var_seq_multi() to drm_mipi_dsi.h to allow
drivers to more conveniently construct MIPI payloads at runtime.

Clean up novatek-nt35560 driver to use "multi" variants of MIPI.

Changes to v3:
 - Fix incorrect Fixes tag. The bug was introduced by an earlier commit.
 - Minor formatting improvements.

Changes to v2:
 - Separate bug fix into its own commit for backporting.
 - Add var_seq_multi() variants of MIPI write macros for sending
   non-static MIPI messages.
 - Minor formatting improvements.

Brigham Campbell (3):
  drm/panel: novatek-nt35560: Fix invalid return value
  drm: Add MIPI read_multi func and two write macros
  drm/panel: novatek-nt35560: Clean up driver

 drivers/gpu/drm/drm_mipi_dsi.c                |  37 ++++
 drivers/gpu/drm/panel/panel-novatek-nt35560.c | 198 ++++++------------
 include/drm/drm_mipi_dsi.h                    |  35 ++++
 3 files changed, 132 insertions(+), 138 deletions(-)


base-commit: 33f8f321e7aa7715ce19560801ee5223ba8b9a7d
-- 
2.50.1


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

end of thread, other threads:[~2025-08-18  9:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-30  6:17 [PATCH v3 0/3] drm/panel: novatek-nt35560: Fix bug and clean up Brigham Campbell
2025-07-30  6:17 ` [PATCH v3 1/3] drm/panel: novatek-nt35560: Fix invalid return value Brigham Campbell
2025-08-18  9:24   ` Linus Walleij
2025-07-30  6:17 ` [PATCH v3 2/3] drm: Add MIPI read_multi func and two write macros Brigham Campbell
2025-07-30 15:56   ` Doug Anderson
2025-07-31  0:49     ` Brigham Campbell
2025-07-30  6:17 ` [PATCH v3 3/3] drm/panel: novatek-nt35560: Clean up driver Brigham Campbell
2025-08-18  9:25   ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).