All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] drm/dp: add flags field to drm_dp_aux_msg struct
@ 2014-03-22  0:13 Alex Deucher
  2014-03-22  0:13 ` [PATCH 2/4] drm/radeon/dp: handle the new BARE_ADDRESS aux flag Alex Deucher
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Alex Deucher @ 2014-03-22  0:13 UTC (permalink / raw)
  To: dri-devel; +Cc: Alex Deucher

This adds a flags field and a new flag, BARE_ADDRESS,
which drivers can use for special handling when they
want to set just the aux address.  This is needed
to properly reset the connection between i2c transactions.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 include/drm/drm_dp_helper.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
index b7488c9..a006e96 100644
--- a/include/drm/drm_dp_helper.h
+++ b/include/drm/drm_dp_helper.h
@@ -403,6 +403,8 @@ drm_dp_enhanced_frame_cap(const u8 dpcd[DP_RECEIVER_CAP_SIZE])
  * DisplayPort AUX channel
  */
 
+#define DRM_DP_AUX_MSG_FLAGS_BARE_ADDRESS (1 << 0)
+
 /**
  * struct drm_dp_aux_msg - DisplayPort AUX channel transaction
  * @address: address of the (first) register to access
@@ -417,6 +419,7 @@ struct drm_dp_aux_msg {
 	u8 reply;
 	void *buffer;
 	size_t size;
+	u32 flags;
 };
 
 /**
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-04-04 14:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-22  0:13 [PATCH 1/4] drm/dp: add flags field to drm_dp_aux_msg struct Alex Deucher
2014-03-22  0:13 ` [PATCH 2/4] drm/radeon/dp: handle the new BARE_ADDRESS aux flag Alex Deucher
2014-03-22  0:13 ` [PATCH 3/4] drm/dp/i2c: use new BARE_ADDRESS flags in i2c over aux Alex Deucher
2014-03-22  0:13 ` [PATCH 4/4] drm/radeon/dp: switch to the common i2c over aux code Alex Deucher
2014-04-04  6:09 ` [PATCH 1/4] drm/dp: add flags field to drm_dp_aux_msg struct Jani Nikula
2014-04-04 14:35   ` Alex Deucher

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.