All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 2/2] drm/dp: add a number of DP 2.0 DPCD definitions
@ 2020-09-17 13:46 kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2020-09-17 13:46 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 10801 bytes --]

CC: kbuild-all(a)lists.01.org
In-Reply-To: <20200917105038.12313-2-jani.nikula@intel.com>
References: <20200917105038.12313-2-jani.nikula@intel.com>
TO: Jani Nikula <jani.nikula@intel.com>
TO: dri-devel(a)lists.freedesktop.org
CC: jani.nikula(a)intel.com

Hi Jani,

I love your patch! Perhaps something to improve:

[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on tegra-drm/drm/tegra/for-next drm-tip/drm-tip linus/master drm-exynos/exynos-drm-next v5.9-rc5 next-20200917]
[cannot apply to drm/drm-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Jani-Nikula/drm-dp-add-subheadings-to-DPCD-address-definitions/20200917-185206
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
:::::: branch date: 3 hours ago
:::::: commit date: 3 hours ago
config: c6x-randconfig-s031-20200917 (attached as .config)
compiler: c6x-elf-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.2-201-g24bdaac6-dirty
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=c6x 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

   drivers/gpu/drm/drm_dsc.c: note: in included file:
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/drm_probe_helper.c: note: in included file (through drivers/gpu/drm/drm_crtc_helper_internal.h):
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/drm_crtc_helper.c: note: in included file (through drivers/gpu/drm/drm_crtc_helper_internal.h):
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/drm_kms_helper_common.c: note: in included file (through drivers/gpu/drm/drm_crtc_helper_internal.h):
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/drm_dp_helper.c: note: in included file:
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/drm_atomic_helper.c: note: in included file (through drivers/gpu/drm/drm_crtc_helper_internal.h):
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/drm_dp_cec.c: note: in included file:
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/drm_dp_mst_topology.c: note: in included file (through include/drm/drm_dp_mst_helper.h):
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/drm_mipi_dsi.c: note: in included file (through include/drm/drm_dsc.h):
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/bridge/tc358767.c: note: in included file:
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/bridge/ti-sn65dsi86.c: note: in included file:
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c: note: in included file:
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/bridge/analogix/analogix-i2c-dptx.c: note: in included file:
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
--
   drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c: note: in included file (through drivers/gpu/drm/bridge/analogix/analogix_dp_core.h):
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition
   drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:527:5: sparse: sparse: symbol 'analogix_dp_start_aux_transaction' was not declared. Should it be static?
   drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:571:5: sparse: sparse: symbol 'analogix_dp_write_byte_to_dpcd' was not declared. Should it be static?
--
   drivers/gpu/drm/bridge/analogix/analogix_dp_core.c: note: in included file (through drivers/gpu/drm/bridge/analogix/analogix_dp_core.h):
   include/drm/drm_dp_helper.h:640:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_MASK redefined
>> include/drm/drm_dp_helper.h:638:10: sparse: this was the original definition
   include/drm/drm_dp_helper.h:641:10: sparse: sparse: preprocessor token DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT redefined
   include/drm/drm_dp_helper.h:639:10: sparse: this was the original definition

# https://github.com/0day-ci/linux/commit/ee700fcadff2b9f1f941cd4af77242e51a139649
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Jani-Nikula/drm-dp-add-subheadings-to-DPCD-address-definitions/20200917-185206
git checkout ee700fcadff2b9f1f941cd4af77242e51a139649
vim +638 include/drm/drm_dp_helper.h

a4fc5ed69817c73 drivers/gpu/drm/i915/intel_dp.h Keith Packard 2009-04-07  636  
ee700fcadff2b9f include/drm/drm_dp_helper.h     Jani Nikula   2020-09-17  637  /* DP 2.0 128b/132b Link Layer */
ee700fcadff2b9f include/drm/drm_dp_helper.h     Jani Nikula   2020-09-17 @638  # define DP_ADJUST_TX_FFE_PRESET_LANE0_MASK  (0xf << 0)
ee700fcadff2b9f include/drm/drm_dp_helper.h     Jani Nikula   2020-09-17  639  # define DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT 0
ee700fcadff2b9f include/drm/drm_dp_helper.h     Jani Nikula   2020-09-17  640  # define DP_ADJUST_TX_FFE_PRESET_LANE0_MASK  (0xf << 4)
ee700fcadff2b9f include/drm/drm_dp_helper.h     Jani Nikula   2020-09-17  641  # define DP_ADJUST_TX_FFE_PRESET_LANE0_SHIFT 4
ee700fcadff2b9f include/drm/drm_dp_helper.h     Jani Nikula   2020-09-17  642  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 24185 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH 1/2] drm/dp: add subheadings to DPCD address definitions
@ 2020-09-18 11:40 Jani Nikula
  2020-09-18 11:40 ` [PATCH 2/2] drm/dp: add a number of DP 2.0 DPCD definitions Jani Nikula
  0 siblings, 1 reply; 6+ messages in thread
From: Jani Nikula @ 2020-09-18 11:40 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula

Add the subheadings from the DP spec. No functional changes.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 include/drm/drm_dp_helper.h | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)

diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
index c9f2851904d0..388083b4716b 100644
--- a/include/drm/drm_dp_helper.h
+++ b/include/drm/drm_dp_helper.h
@@ -106,8 +106,9 @@ struct drm_device;
 #define DP_AUX_I2C_REPLY_DEFER		(0x2 << 2)
 #define DP_AUX_I2C_REPLY_MASK		(0x3 << 2)
 
-/* AUX CH addresses */
-/* DPCD */
+/* DPCD Field Address Mapping */
+
+/* Receiver Capability */
 #define DP_DPCD_REV                         0x000
 # define DP_DPCD_REV_10                     0x10
 # define DP_DPCD_REV_11                     0x11
@@ -426,7 +427,7 @@ struct drm_device;
 #define DP_DSC_BRANCH_OVERALL_THROUGHPUT_1  0x0a1
 #define DP_DSC_BRANCH_MAX_LINE_WIDTH        0x0a2
 
-/* link configuration */
+/* Link Configuration */
 #define	DP_LINK_BW_SET		            0x100
 # define DP_LINK_RATE_TABLE		    0x00    /* eDP 1.4 */
 # define DP_LINK_BW_1_62		    0x06
@@ -580,6 +581,7 @@ struct drm_device;
 #define DP_PAYLOAD_ALLOCATE_START_TIME_SLOT 0x1c1
 #define DP_PAYLOAD_ALLOCATE_TIME_SLOT_COUNT 0x1c2
 
+/* Link/Sink Device Status */
 #define DP_SINK_COUNT			    0x200
 /* prior to 1.2 bit 7 was reserved mbz */
 # define DP_GET_SINK_COUNT(x)		    ((((x) & 0x80) >> 1) | ((x) & 0x3f))
@@ -779,20 +781,27 @@ struct drm_device;
 #define DP_VC_PAYLOAD_ID_SLOT_1             0x2c1   /* 1.2 MST */
 /* up to ID_SLOT_63 at 0x2ff */
 
+/* Source Device-specific */
 #define DP_SOURCE_OUI			    0x300
+
+/* Sink Device-specific */
 #define DP_SINK_OUI			    0x400
+
+/* Branch Device-specific */
 #define DP_BRANCH_OUI			    0x500
 #define DP_BRANCH_ID                        0x503
 #define DP_BRANCH_REVISION_START            0x509
 #define DP_BRANCH_HW_REV                    0x509
 #define DP_BRANCH_SW_REV                    0x50A
 
+/* Link/Sink Device Power Control */
 #define DP_SET_POWER                        0x600
 # define DP_SET_POWER_D0                    0x1
 # define DP_SET_POWER_D3                    0x2
 # define DP_SET_POWER_MASK                  0x3
 # define DP_SET_POWER_D3_AUX_ON             0x5
 
+/* eDP-specific */
 #define DP_EDP_DPCD_REV			    0x700    /* eDP 1.2 */
 # define DP_EDP_11			    0x00
 # define DP_EDP_12			    0x01
@@ -876,11 +885,13 @@ struct drm_device;
 #define DP_EDP_REGIONAL_BACKLIGHT_BASE      0x740    /* eDP 1.4 */
 #define DP_EDP_REGIONAL_BACKLIGHT_0	    0x741    /* eDP 1.4 */
 
+/* Sideband MSG Buffers */
 #define DP_SIDEBAND_MSG_DOWN_REQ_BASE	    0x1000   /* 1.2 MST */
 #define DP_SIDEBAND_MSG_UP_REP_BASE	    0x1200   /* 1.2 MST */
 #define DP_SIDEBAND_MSG_DOWN_REP_BASE	    0x1400   /* 1.2 MST */
 #define DP_SIDEBAND_MSG_UP_REQ_BASE	    0x1600   /* 1.2 MST */
 
+/* DPRX Event Status Indicator */
 #define DP_SINK_COUNT_ESI		    0x2002   /* 1.2 */
 /* 0-5 sink count */
 # define DP_SINK_COUNT_CP_READY             (1 << 6)
@@ -934,6 +945,7 @@ struct drm_device;
 #define DP_LANE_ALIGN_STATUS_UPDATED_ESI       0x200e /* status same as 0x204 */
 #define DP_SINK_STATUS_ESI                     0x200f /* status same as 0x205 */
 
+/* Extended Receiver Capability */
 #define DP_DP13_DPCD_REV                    0x2200
 #define DP_DP13_MAX_LINK_RATE               0x2201
 
@@ -947,6 +959,7 @@ struct drm_device;
 # define DP_VSC_EXT_CEA_SDP_SUPPORTED			(1 << 6)  /* DP 1.4 */
 # define DP_VSC_EXT_CEA_SDP_CHAINING_SUPPORTED		(1 << 7)  /* DP 1.4 */
 
+/* Protocol Converter Extension */
 /* HDMI CEC tunneling over AUX DP 1.3 section 5.3.3.3.1 DPCD 1.4+ */
 #define DP_CEC_TUNNELING_CAPABILITY            0x3000
 # define DP_CEC_TUNNELING_CAPABLE               (1 << 0)
@@ -1013,6 +1026,7 @@ struct drm_device;
 #define DP_PROTOCOL_CONVERTER_CONTROL_2		0x3052 /* DP 1.3 */
 # define DP_CONVERSION_TO_YCBCR422_ENABLE	(1 << 0) /* DP 1.3 */
 
+/* HDCP 1.3 and HDCP 2.2 */
 #define DP_AUX_HDCP_BKSV		0x68000
 #define DP_AUX_HDCP_RI_PRIME		0x68005
 #define DP_AUX_HDCP_AKSV		0x68007
@@ -1058,7 +1072,7 @@ struct drm_device;
 #define DP_HDCP_2_2_REG_STREAM_TYPE_OFFSET	0x69494
 #define DP_HDCP_2_2_REG_DBG_OFFSET		0x69518
 
-/* Link Training (LT)-tunable PHY Repeaters */
+/* LTTPR: Link Training (LT)-tunable PHY Repeaters */
 #define DP_LT_TUNABLE_PHY_REPEATER_FIELD_DATA_STRUCTURE_REV 0xf0000 /* 1.3 */
 #define DP_MAX_LINK_RATE_PHY_REPEATER			    0xf0001 /* 1.4a */
 #define DP_PHY_REPEATER_CNT				    0xf0002 /* 1.3 */
-- 
2.20.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [PATCH 1/2] drm/dp: add subheadings to DPCD address definitions
@ 2020-09-17 10:50 Jani Nikula
  2020-09-17 10:50 ` [PATCH 2/2] drm/dp: add a number of DP 2.0 DPCD definitions Jani Nikula
  0 siblings, 1 reply; 6+ messages in thread
From: Jani Nikula @ 2020-09-17 10:50 UTC (permalink / raw)
  To: dri-devel; +Cc: jani.nikula

Add the subheadings from the DP spec. No functional changes.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 include/drm/drm_dp_helper.h | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)

diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
index 5c45195ced32..3d9900e7d57c 100644
--- a/include/drm/drm_dp_helper.h
+++ b/include/drm/drm_dp_helper.h
@@ -104,8 +104,9 @@
 #define DP_AUX_I2C_REPLY_DEFER		(0x2 << 2)
 #define DP_AUX_I2C_REPLY_MASK		(0x3 << 2)
 
-/* AUX CH addresses */
-/* DPCD */
+/* DPCD Field Address Mapping */
+
+/* Receiver Capability */
 #define DP_DPCD_REV                         0x000
 # define DP_DPCD_REV_10                     0x10
 # define DP_DPCD_REV_11                     0x11
@@ -407,7 +408,7 @@
 #define DP_DSC_BRANCH_OVERALL_THROUGHPUT_1  0x0a1
 #define DP_DSC_BRANCH_MAX_LINE_WIDTH        0x0a2
 
-/* link configuration */
+/* Link Configuration */
 #define	DP_LINK_BW_SET		            0x100
 # define DP_LINK_RATE_TABLE		    0x00    /* eDP 1.4 */
 # define DP_LINK_BW_1_62		    0x06
@@ -561,6 +562,7 @@
 #define DP_PAYLOAD_ALLOCATE_START_TIME_SLOT 0x1c1
 #define DP_PAYLOAD_ALLOCATE_TIME_SLOT_COUNT 0x1c2
 
+/* Link/Sink Device Status */
 #define DP_SINK_COUNT			    0x200
 /* prior to 1.2 bit 7 was reserved mbz */
 # define DP_GET_SINK_COUNT(x)		    ((((x) & 0x80) >> 1) | ((x) & 0x3f))
@@ -760,20 +762,27 @@
 #define DP_VC_PAYLOAD_ID_SLOT_1             0x2c1   /* 1.2 MST */
 /* up to ID_SLOT_63 at 0x2ff */
 
+/* Source Device-specific */
 #define DP_SOURCE_OUI			    0x300
+
+/* Sink Device-specific */
 #define DP_SINK_OUI			    0x400
+
+/* Branch Device-specific */
 #define DP_BRANCH_OUI			    0x500
 #define DP_BRANCH_ID                        0x503
 #define DP_BRANCH_REVISION_START            0x509
 #define DP_BRANCH_HW_REV                    0x509
 #define DP_BRANCH_SW_REV                    0x50A
 
+/* Link/Sink Device Power Control */
 #define DP_SET_POWER                        0x600
 # define DP_SET_POWER_D0                    0x1
 # define DP_SET_POWER_D3                    0x2
 # define DP_SET_POWER_MASK                  0x3
 # define DP_SET_POWER_D3_AUX_ON             0x5
 
+/* eDP-specific */
 #define DP_EDP_DPCD_REV			    0x700    /* eDP 1.2 */
 # define DP_EDP_11			    0x00
 # define DP_EDP_12			    0x01
@@ -857,11 +866,13 @@
 #define DP_EDP_REGIONAL_BACKLIGHT_BASE      0x740    /* eDP 1.4 */
 #define DP_EDP_REGIONAL_BACKLIGHT_0	    0x741    /* eDP 1.4 */
 
+/* Sideband MSG Buffers */
 #define DP_SIDEBAND_MSG_DOWN_REQ_BASE	    0x1000   /* 1.2 MST */
 #define DP_SIDEBAND_MSG_UP_REP_BASE	    0x1200   /* 1.2 MST */
 #define DP_SIDEBAND_MSG_DOWN_REP_BASE	    0x1400   /* 1.2 MST */
 #define DP_SIDEBAND_MSG_UP_REQ_BASE	    0x1600   /* 1.2 MST */
 
+/* DPRX Event Status Indicator */
 #define DP_SINK_COUNT_ESI		    0x2002   /* 1.2 */
 /* 0-5 sink count */
 # define DP_SINK_COUNT_CP_READY             (1 << 6)
@@ -915,6 +926,7 @@
 #define DP_LANE_ALIGN_STATUS_UPDATED_ESI       0x200e /* status same as 0x204 */
 #define DP_SINK_STATUS_ESI                     0x200f /* status same as 0x205 */
 
+/* Extended Receiver Capability */
 #define DP_DP13_DPCD_REV                    0x2200
 #define DP_DP13_MAX_LINK_RATE               0x2201
 
@@ -928,6 +940,7 @@
 # define DP_VSC_EXT_CEA_SDP_SUPPORTED			(1 << 6)  /* DP 1.4 */
 # define DP_VSC_EXT_CEA_SDP_CHAINING_SUPPORTED		(1 << 7)  /* DP 1.4 */
 
+/* Protocol Converter Extension */
 /* HDMI CEC tunneling over AUX DP 1.3 section 5.3.3.3.1 DPCD 1.4+ */
 #define DP_CEC_TUNNELING_CAPABILITY            0x3000
 # define DP_CEC_TUNNELING_CAPABLE               (1 << 0)
@@ -984,6 +997,7 @@
 #define DP_CEC_TX_MESSAGE_BUFFER               0x3020
 #define DP_CEC_MESSAGE_BUFFER_LENGTH             0x10
 
+/* HDCP 1.3 and HDCP 2.2 */
 #define DP_AUX_HDCP_BKSV		0x68000
 #define DP_AUX_HDCP_RI_PRIME		0x68005
 #define DP_AUX_HDCP_AKSV		0x68007
@@ -1029,7 +1043,7 @@
 #define DP_HDCP_2_2_REG_STREAM_TYPE_OFFSET	0x69494
 #define DP_HDCP_2_2_REG_DBG_OFFSET		0x69518
 
-/* Link Training (LT)-tunable PHY Repeaters */
+/* LTTPR: Link Training (LT)-tunable PHY Repeaters */
 #define DP_LT_TUNABLE_PHY_REPEATER_FIELD_DATA_STRUCTURE_REV 0xf0000 /* 1.3 */
 #define DP_MAX_LINK_RATE_PHY_REPEATER			    0xf0001 /* 1.4a */
 #define DP_PHY_REPEATER_CNT				    0xf0002 /* 1.3 */
-- 
2.20.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2020-09-18 19:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-17 13:46 [PATCH 2/2] drm/dp: add a number of DP 2.0 DPCD definitions kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2020-09-18 11:40 [PATCH 1/2] drm/dp: add subheadings to DPCD address definitions Jani Nikula
2020-09-18 11:40 ` [PATCH 2/2] drm/dp: add a number of DP 2.0 DPCD definitions Jani Nikula
2020-09-18 19:53   ` Navare, Manasi
2020-09-17 10:50 [PATCH 1/2] drm/dp: add subheadings to DPCD address definitions Jani Nikula
2020-09-17 10:50 ` [PATCH 2/2] drm/dp: add a number of DP 2.0 DPCD definitions Jani Nikula
2020-09-17 16:10   ` kernel test robot
2020-09-17 16:10     ` kernel test robot

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.