diff mbox

[1/2] drm: dp helper: Add DP test sink CRC definition.

Message ID 1389723710-21223-1-git-send-email-rodrigo.vivi@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Rodrigo Vivi Jan. 14, 2014, 6:21 p.m. UTC
This address will be used to verify panel CRC for test and
validation purposes.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
---
 include/drm/drm_dp_helper.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Daniel Vetter Jan. 25, 2014, 8:20 p.m. UTC | #1
On Tue, Jan 14, 2014 at 04:21:49PM -0200, Rodrigo Vivi wrote:
> This address will be used to verify panel CRC for test and
> validation purposes.
> 
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>

checkpatch noticed some whitespace fail in here (spaces before tabs). I've
fixed it up.
-Daniel

> ---
>  include/drm/drm_dp_helper.h | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
> index 1d09050..ba0b90d 100644
> --- a/include/drm/drm_dp_helper.h
> +++ b/include/drm/drm_dp_helper.h
> @@ -279,11 +279,21 @@
>  
>  #define DP_TEST_PATTERN			    0x221
>  
> +#define DP_TEST_CRC_R_CR		    0x240
> +#define DP_TEST_CRC_G_Y			    0x242
> +#define DP_TEST_CRC_B_CB		    0x244
> +
> +#define DP_TEST_SINK_MISC		    0x246
> +#define DP_TEST_CRC_SUPPORTED 		    (1 << 5)
> +
>  #define DP_TEST_RESPONSE		    0x260
>  # define DP_TEST_ACK			    (1 << 0)
>  # define DP_TEST_NAK			    (1 << 1)
>  # define DP_TEST_EDID_CHECKSUM_WRITE	    (1 << 2)
>  
> +#define DP_TEST_SINK			    0x270
> +#define DP_TEST_SINK_START    		    (1 << 0)
> +
>  #define DP_SOURCE_OUI			    0x300
>  #define DP_SINK_OUI			    0x400
>  #define DP_BRANCH_OUI			    0x500
> -- 
> 1.8.3.1
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
diff mbox

Patch

diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
index 1d09050..ba0b90d 100644
--- a/include/drm/drm_dp_helper.h
+++ b/include/drm/drm_dp_helper.h
@@ -279,11 +279,21 @@ 
 
 #define DP_TEST_PATTERN			    0x221
 
+#define DP_TEST_CRC_R_CR		    0x240
+#define DP_TEST_CRC_G_Y			    0x242
+#define DP_TEST_CRC_B_CB		    0x244
+
+#define DP_TEST_SINK_MISC		    0x246
+#define DP_TEST_CRC_SUPPORTED 		    (1 << 5)
+
 #define DP_TEST_RESPONSE		    0x260
 # define DP_TEST_ACK			    (1 << 0)
 # define DP_TEST_NAK			    (1 << 1)
 # define DP_TEST_EDID_CHECKSUM_WRITE	    (1 << 2)
 
+#define DP_TEST_SINK			    0x270
+#define DP_TEST_SINK_START    		    (1 << 0)
+
 #define DP_SOURCE_OUI			    0x300
 #define DP_SINK_OUI			    0x400
 #define DP_BRANCH_OUI			    0x500