dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/3] drm/panel: update backlight support for samsung panels
@ 2020-04-09 11:52 Sam Ravnborg
  2020-04-09 11:52 ` [PATCH v1 1/3] drm/panel: update backlight handling for samsung-s6e3ha2 Sam Ravnborg
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Sam Ravnborg @ 2020-04-09 11:52 UTC (permalink / raw)
  To: dri-devel, Joonas Kylmälä
  Cc: Andrzej Hajda, Thierry Reding, Hyungwon Hwang, Sam Ravnborg,
	Hoegeun Kwon, Paweł Chmiel

Update the backlight handling in three samsung panels.
  - Use devm_ functions to automate cleanup
  - Utilize backlight support in drm_panel
  - Introduce a register backlight helper in all panels
    Using the same pattern in all panels makes it simpler
    to read the code.

With this change the backlight handling in these panels
is now much more like what we see in other panels.

Testing or any other feedback appreciated!

	Sam


Sam Ravnborg (3):
      drm/panel: update backlight handling for samsung-s6e3ha2
      drm/panel: update backlight handling for samsung-s6e63j0x03
      drm/panel: update backlight handling for samsung-s6e63m0

 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c    | 55 +++++++++++++-----------
 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c | 55 +++++++++++++-----------
 drivers/gpu/drm/panel/panel-samsung-s6e63m0.c    | 20 ++++-----
 3 files changed, 68 insertions(+), 62 deletions(-)


_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2020-05-06 10:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-09 11:52 [PATCH v1 0/3] drm/panel: update backlight support for samsung panels Sam Ravnborg
2020-04-09 11:52 ` [PATCH v1 1/3] drm/panel: update backlight handling for samsung-s6e3ha2 Sam Ravnborg
2020-04-09 11:52 ` [PATCH v1 2/3] drm/panel: update backlight handling for samsung-s6e63j0x03 Sam Ravnborg
2020-04-09 14:13   ` Emil Velikov
2020-04-09 14:46     ` Sam Ravnborg
2020-05-05 14:30       ` Emil Velikov
2020-05-06 10:38       ` Daniel Vetter
2020-04-09 11:52 ` [PATCH v1 3/3] drm/panel: update backlight handling for samsung-s6e63m0 Sam Ravnborg

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).