From: Jyri Sarha <jsarha@ti.com>
To: dri-devel@lists.freedesktop.org
Cc: airlied@linux.ie, Jyri Sarha <jsarha@ti.com>,
tomi.valkeinen@ti.com, thierry.reding@gmail.com,
laurent.pinchart@ideasonboard.com, peda@axentia.se
Subject: [PATCH v4 0/2] drm/panel: Add device link in drm_panel_attach()
Date: Thu, 26 Apr 2018 11:06:58 +0300 [thread overview]
Message-ID: <cover.1524727887.git.jsarha@ti.com> (raw)
I guess the first patch should be mergable. With the second, maybe it
is better to wait until we have a full solution including the bridges
too. What should I do to get the first patch merged?
The third version of these patches can be found here:
https://lists.freedesktop.org/archives/dri-devel/2018-April/174221.html
Changes since v3:
- "drm/panel: Remove drm_panel_detach() calls from all panel drives"
- Update kerneldoc for drm_panel_detach() and drm_panel_attach()
according to Daniel Vetter's suugestion and add his reviewed-by.
- "drm/panel: Add device_link from panel device to drm device"
- none
The first patch could be squashed to second, but kept is separate
since I think it is correct even without the second patch.
With these patches unbinding a panel driver in use does not cause
nasty backtraces and corrupted drm core structures, but instead it
cleanly unbinds the drm master device at the same time.
The only down side (currently[1]) is that the drm device does not reprobe
if the panel driver is bound again, but everything should work if the
drm master driver is bound manually.
Best regards,
Jyri
Jyri Sarha (2):
drm/panel: Remove drm_panel_detach() calls from all panel drives
drm/panel: Add device_link from panel device to drm device
drivers/gpu/drm/drm_panel.c | 16 ++++++++++++++++
drivers/gpu/drm/panel/panel-innolux-p079zca.c | 1 -
drivers/gpu/drm/panel/panel-jdi-lt070me05000.c | 1 -
drivers/gpu/drm/panel/panel-lvds.c | 1 -
drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c | 1 -
drivers/gpu/drm/panel/panel-seiko-43wvf1g.c | 1 -
drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c | 1 -
drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c | 1 -
drivers/gpu/drm/panel/panel-simple.c | 1 -
drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 1 -
include/drm/drm_panel.h | 1 +
11 files changed, 17 insertions(+), 9 deletions(-)
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2018-04-26 8:07 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-26 8:06 Jyri Sarha [this message]
2018-04-26 8:06 ` [PATCH v4 1/2] drm/panel: Remove drm_panel_detach() calls from all panel drives Jyri Sarha
2018-04-26 8:07 ` [PATCH v4 2/2] drm/panel: Add device_link from panel device to drm device Jyri Sarha
2018-05-18 11:51 ` Andrzej Hajda
2018-05-18 12:54 ` Jyri Sarha
2018-05-19 16:48 ` Peter Rosin
2018-05-19 18:01 ` Peter Rosin
2018-05-21 8:15 ` Andrzej Hajda
2018-05-21 8:53 ` Peter Rosin
2018-05-21 9:21 ` Andrzej Hajda
2018-05-21 21:56 ` Peter Rosin
2018-05-22 6:29 ` Andrzej Hajda
2018-05-22 7:36 ` Peter Rosin
2018-05-22 8:37 ` Peter Rosin
2018-05-22 9:45 ` Andrzej Hajda
2018-05-22 15:03 ` Peter Rosin
2018-05-23 8:29 ` Peter Rosin
2018-05-23 9:39 ` Andrzej Hajda
2018-05-23 10:46 ` Peter Rosin
2018-05-23 12:38 ` Andrzej Hajda
2018-05-23 14:34 ` Peter Rosin
2019-10-22 8:44 ` Daniel Vetter
2018-08-09 8:56 ` Daniel Vetter
2018-08-30 12:32 ` Linus Walleij
2018-08-30 14:41 ` Andrzej Hajda
2018-08-31 8:56 ` Linus Walleij
2018-08-31 10:08 ` Andrzej Hajda
2018-04-26 12:49 ` [PATCH v4 0/2] drm/panel: Add device link in drm_panel_attach() Thierry Reding
2018-05-21 6:09 ` Peter Rosin
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=cover.1524727887.git.jsarha@ti.com \
--to=jsarha@ti.com \
--cc=airlied@linux.ie \
--cc=dri-devel@lists.freedesktop.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=peda@axentia.se \
--cc=thierry.reding@gmail.com \
--cc=tomi.valkeinen@ti.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 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).