From: Tomeu Vizoso <tomeu.vizoso@collabora.com> To: linux-kernel@vger.kernel.org Cc: "Ville Syrjälä" <ville.syrjala@linux.intel.com>, "Sean Paul" <seanpaul@chromium.org>, "Thierry Reding" <thierry.reding@gmail.com>, intel-gfx-trybot@lists.freedesktop.org, "Emil Velikov" <emil.l.velikov@gmail.com>, "Daniel Vetter" <daniel.vetter@intel.com>, "Benjamin Gaignard" <benjamin.gaignard@linaro.org>, "Tomeu Vizoso" <tomeu.vizoso@collabora.com>, "Jani Nikula" <jani.nikula@linux.intel.com>, dri-devel@lists.freedesktop.org, "David Airlie" <airlied@linux.ie> Subject: [PATCH v6 1/4] drm/dp: add crtc backpointer to drm_dp_aux Date: Fri, 3 Mar 2017 14:39:33 +0100 [thread overview] Message-ID: <20170303133936.14964-2-tomeu.vizoso@collabora.com> (raw) In-Reply-To: <20170303133936.14964-1-tomeu.vizoso@collabora.com> This backpointer allows DP helpers to access the crtc it's currently being used for. v6: Have the backpointer be to drm_crtc (Sean Paul) 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 ba89295c8651..a710e39b5f83 100644 --- a/include/drm/drm_dp_helper.h +++ b/include/drm/drm_dp_helper.h @@ -789,6 +789,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 + * @crtc: backpointer to the crtc that is currently using this AUX channel * @hw_mutex: internal mutex used for locking transfers * @transfer: transfers a message representing a single AUX transaction * @@ -825,6 +826,7 @@ struct drm_dp_aux { const char *name; struct i2c_adapter ddc; struct device *dev; + struct drm_crtc *crtc; struct mutex hw_mutex; ssize_t (*transfer)(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg); -- 2.9.3
WARNING: multiple messages have this Message-ID (diff)
From: Tomeu Vizoso <tomeu.vizoso@collabora.com> To: linux-kernel@vger.kernel.org Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>, Emil Velikov <emil.l.velikov@gmail.com>, dri-devel@lists.freedesktop.org, intel-gfx-trybot@lists.freedesktop.org, Daniel Vetter <daniel.vetter@intel.com> Subject: [PATCH v6 1/4] drm/dp: add crtc backpointer to drm_dp_aux Date: Fri, 3 Mar 2017 14:39:33 +0100 [thread overview] Message-ID: <20170303133936.14964-2-tomeu.vizoso@collabora.com> (raw) In-Reply-To: <20170303133936.14964-1-tomeu.vizoso@collabora.com> This backpointer allows DP helpers to access the crtc it's currently being used for. v6: Have the backpointer be to drm_crtc (Sean Paul) 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 ba89295c8651..a710e39b5f83 100644 --- a/include/drm/drm_dp_helper.h +++ b/include/drm/drm_dp_helper.h @@ -789,6 +789,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 + * @crtc: backpointer to the crtc that is currently using this AUX channel * @hw_mutex: internal mutex used for locking transfers * @transfer: transfers a message representing a single AUX transaction * @@ -825,6 +826,7 @@ struct drm_dp_aux { const char *name; struct i2c_adapter ddc; struct device *dev; + struct drm_crtc *crtc; struct mutex hw_mutex; ssize_t (*transfer)(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg); -- 2.9.3 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2017-03-03 13:48 UTC|newest] Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-03-03 13:39 [PATCH v6 0/4] drm/dp: Implement CRC debugfs API Tomeu Vizoso 2017-03-03 13:39 ` Tomeu Vizoso 2017-03-03 13:39 ` Tomeu Vizoso 2017-03-03 13:39 ` Tomeu Vizoso [this message] 2017-03-03 13:39 ` [PATCH v6 1/4] drm/dp: add crtc backpointer to drm_dp_aux Tomeu Vizoso 2017-03-03 13:39 ` [PATCH v6 2/4] drm/dp: add helpers for capture of frame CRCs Tomeu Vizoso 2017-03-03 13:39 ` Tomeu Vizoso 2017-03-07 18:26 ` Gabriel Krisman Bertazi 2017-03-07 20:35 ` [PATCH] drm/dp: Add missing description to parameter Tomeu Vizoso 2017-03-07 20:35 ` Tomeu Vizoso 2017-03-07 22:03 ` Sean Paul 2017-03-07 22:03 ` Sean Paul 2017-03-08 8:39 ` 0day 'make htmldocs' testing (was: Re: [PATCH] drm/dp: Add missing description to parameter) Jani Nikula 2017-03-08 8:41 ` Jani Nikula 2017-03-08 9:20 ` [kbuild-all] " Philip Li 2017-03-08 9:24 ` Fengguang Wu 2017-03-03 13:39 ` [PATCH v6 3/4] drm/bridge: analogix_dp: add helpers for capture of frame CRCs Tomeu Vizoso 2017-03-03 13:39 ` Tomeu Vizoso 2017-03-03 13:39 ` [PATCH v6 4/4] drm/rockchip: Implement CRC debugfs API Tomeu Vizoso 2017-03-03 13:39 ` Tomeu Vizoso 2017-03-03 13:39 ` Tomeu Vizoso 2017-03-06 0:55 ` Mark yao 2017-03-06 0:55 ` Mark yao 2017-03-06 0:55 ` Mark yao 2017-03-06 17:58 ` Emil Velikov 2017-03-06 17:58 ` Emil Velikov 2017-03-06 17:58 ` Emil Velikov 2017-03-06 17:19 ` [PATCH v6 0/4] drm/dp: " Sean Paul 2017-03-06 17:19 ` Sean Paul 2017-03-06 17:19 ` Sean Paul
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=20170303133936.14964-2-tomeu.vizoso@collabora.com \ --to=tomeu.vizoso@collabora.com \ --cc=airlied@linux.ie \ --cc=benjamin.gaignard@linaro.org \ --cc=daniel.vetter@intel.com \ --cc=dri-devel@lists.freedesktop.org \ --cc=emil.l.velikov@gmail.com \ --cc=intel-gfx-trybot@lists.freedesktop.org \ --cc=jani.nikula@linux.intel.com \ --cc=linux-kernel@vger.kernel.org \ --cc=seanpaul@chromium.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: linkBe 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.