All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: dri-devel@lists.freedesktop.org,
	"Joonas Kylmälä" <joonas.kylmala@iki.fi>
Cc: "Andrzej Hajda" <a.hajda@samsung.com>,
	"Thierry Reding" <thierry.reding@gmail.com>,
	"Hyungwon Hwang" <human.hwang@samsung.com>,
	"Sam Ravnborg" <sam@ravnborg.org>,
	"Hoegeun Kwon" <hoegeun.kwon@samsung.com>,
	"Paweł Chmiel" <pawel.mikolaj.chmiel@gmail.com>
Subject: [PATCH v1 0/3] drm/panel: update backlight support for samsung panels
Date: Thu,  9 Apr 2020 13:52:36 +0200	[thread overview]
Message-ID: <20200409115239.5149-1-sam@ravnborg.org> (raw)

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

             reply	other threads:[~2020-04-09 11:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-09 11:52 Sam Ravnborg [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200409115239.5149-1-sam@ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=a.hajda@samsung.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=hoegeun.kwon@samsung.com \
    --cc=human.hwang@samsung.com \
    --cc=joonas.kylmala@iki.fi \
    --cc=pawel.mikolaj.chmiel@gmail.com \
    --cc=thierry.reding@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.