From: Tomeu Vizoso <tomeu.vizoso@collabora.com>
To: linux-kernel@vger.kernel.org
Cc: "Ville Syrjälä" <ville.syrjala@linux.intel.com>,
"Daniel Vetter" <daniel.vetter@intel.com>,
"Emil Velikov" <emil.velikov@collabora.com>,
"Thierry Reding" <thierry.reding@gmail.com>,
"Tomeu Vizoso" <tomeu.vizoso@collabora.com>,
"David Airlie" <airlied@linux.ie>,
dri-devel@lists.freedesktop.org
Subject: [PATCH v1 1/5] drm/dp: add connector backpointer to drm_dp_aux
Date: Tue, 9 Aug 2016 12:51:32 +0200 [thread overview]
Message-ID: <1470739896-11088-2-git-send-email-tomeu.vizoso@collabora.com> (raw)
In-Reply-To: <1470739896-11088-1-git-send-email-tomeu.vizoso@collabora.com>
This backpointer allows DP helpers to access the connector it's being
used for.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
---
include/drm/drm_dp_helper.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
index 63b8bd502444..f66cc8501d71 100644
--- a/include/drm/drm_dp_helper.h
+++ b/include/drm/drm_dp_helper.h
@@ -710,6 +710,7 @@ struct drm_dp_aux_msg {
* @name: user-visible name of this AUX channel and the I2C-over-AUX adapter
* @ddc: I2C adapter that can be used for I2C-over-AUX communication
* @dev: pointer to struct device that is the parent for this AUX channel
+ * @connector: backpointer to connector that uses this AUX channel
* @hw_mutex: internal mutex used for locking transfers
* @transfer: transfers a message representing a single AUX transaction
*
@@ -746,6 +747,7 @@ struct drm_dp_aux {
const char *name;
struct i2c_adapter ddc;
struct device *dev;
+ struct drm_connector *connector;
struct mutex hw_mutex;
ssize_t (*transfer)(struct drm_dp_aux *aux,
struct drm_dp_aux_msg *msg);
--
2.7.4
next prev parent reply other threads:[~2016-08-09 10:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-09 10:51 [PATCH v1 0/5] drm/rockchip: Implement CRC debugfs API Tomeu Vizoso
2016-08-09 10:51 ` Tomeu Vizoso [this message]
2016-08-09 11:22 ` [PATCH v1 1/5] drm/dp: add connector backpointer to drm_dp_aux Daniel Vetter
2016-08-09 10:51 ` [PATCH v1 2/5] drm/bridge: analogix_dp: set connector " Tomeu Vizoso
2016-08-09 10:51 ` [PATCH v1 3/5] drm/dp: add helpers for capture of frame CRCs Tomeu Vizoso
2016-08-09 10:51 ` [PATCH v1 4/5] drm/bridge: analogix_dp: " Tomeu Vizoso
2016-08-09 10:51 ` [PATCH v1 5/5] drm/rockchip: Implement CRC debugfs API Tomeu Vizoso
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=1470739896-11088-2-git-send-email-tomeu.vizoso@collabora.com \
--to=tomeu.vizoso@collabora.com \
--cc=airlied@linux.ie \
--cc=daniel.vetter@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=emil.velikov@collabora.com \
--cc=linux-kernel@vger.kernel.org \
--cc=thierry.reding@gmail.com \
--cc=ville.syrjala@linux.intel.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
all inboxes | Powered by JetHome®