From: Alexander Stein <alexander.stein@ew.tq-group.com>
To: dri-devel@lists.freedesktop.org
Subject: drm_connector_state without drm_atomic_state possible?
Date: Tue, 15 Aug 2023 12:59:20 +0200 [thread overview]
Message-ID: <2296388.ElGaqSPkdT@steina-w> (raw)
Hello,
I'm currently trying to get the TC9595 (tc358767.c) running on my imx93
platform. For probing the EDID/DPCD information I need to put the DSI lanes
into LP-11 (stop) state.
For this I was trying to call drm_atomic_bridge_chain_pre_enable() inside
tc_connector_get_modes(), if bridge is not enabled not enabled yet. Please
refer to [1] why pre_enable has to be called.
But at that point connector->state->state is NULL, while connector->state has
some state. Thus drm_atomic_bridge_call_pre_enable(), called from
drm_atomic_bridge_chain_pre_enable(), does nothing.
But this seems bogus to me, how can the backpointer to drm_atomic_state be
NULL if the drm_connector_state from drm_connector is still valid?
Maybe I do not fully grasp the data organization and lifetime to it's fullest
yet. Maybe someone has a suggestion how to pre_enable the bridge chain while
get_modes is called.
Thanks and best regards,
Alexander
[1] https://lore.kernel.org/all/20221205173328.1395350-7-dave.stevenson@raspberrypi.com/
--
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/
reply other threads:[~2023-08-15 10:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=2296388.ElGaqSPkdT@steina-w \
--to=alexander.stein@ew.tq-group.com \
--cc=dri-devel@lists.freedesktop.org \
/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