diff options
Diffstat (limited to 'include/drm/drm_dp_helper.h')
-rw-r--r-- | include/drm/drm_dp_helper.h | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h index a92c3754e3bb..1d09050a8c00 100644 --- a/include/drm/drm_dp_helper.h +++ b/include/drm/drm_dp_helper.h | |||
@@ -41,22 +41,22 @@ | |||
41 | * 1.2 formally includes both eDP and DPI definitions. | 41 | * 1.2 formally includes both eDP and DPI definitions. |
42 | */ | 42 | */ |
43 | 43 | ||
44 | #define AUX_NATIVE_WRITE 0x8 | 44 | #define DP_AUX_I2C_WRITE 0x0 |
45 | #define AUX_NATIVE_READ 0x9 | 45 | #define DP_AUX_I2C_READ 0x1 |
46 | #define AUX_I2C_WRITE 0x0 | 46 | #define DP_AUX_I2C_STATUS 0x2 |
47 | #define AUX_I2C_READ 0x1 | 47 | #define DP_AUX_I2C_MOT 0x4 |
48 | #define AUX_I2C_STATUS 0x2 | 48 | #define DP_AUX_NATIVE_WRITE 0x8 |
49 | #define AUX_I2C_MOT 0x4 | 49 | #define DP_AUX_NATIVE_READ 0x9 |
50 | 50 | ||
51 | #define AUX_NATIVE_REPLY_ACK (0x0 << 4) | 51 | #define DP_AUX_NATIVE_REPLY_ACK (0x0 << 0) |
52 | #define AUX_NATIVE_REPLY_NACK (0x1 << 4) | 52 | #define DP_AUX_NATIVE_REPLY_NACK (0x1 << 0) |
53 | #define AUX_NATIVE_REPLY_DEFER (0x2 << 4) | 53 | #define DP_AUX_NATIVE_REPLY_DEFER (0x2 << 0) |
54 | #define AUX_NATIVE_REPLY_MASK (0x3 << 4) | 54 | #define DP_AUX_NATIVE_REPLY_MASK (0x3 << 0) |
55 | 55 | ||
56 | #define AUX_I2C_REPLY_ACK (0x0 << 6) | 56 | #define DP_AUX_I2C_REPLY_ACK (0x0 << 2) |
57 | #define AUX_I2C_REPLY_NACK (0x1 << 6) | 57 | #define DP_AUX_I2C_REPLY_NACK (0x1 << 2) |
58 | #define AUX_I2C_REPLY_DEFER (0x2 << 6) | 58 | #define DP_AUX_I2C_REPLY_DEFER (0x2 << 2) |
59 | #define AUX_I2C_REPLY_MASK (0x3 << 6) | 59 | #define DP_AUX_I2C_REPLY_MASK (0x3 << 2) |
60 | 60 | ||
61 | /* AUX CH addresses */ | 61 | /* AUX CH addresses */ |
62 | /* DPCD */ | 62 | /* DPCD */ |
@@ -266,9 +266,10 @@ | |||
266 | 266 | ||
267 | #define DP_TEST_REQUEST 0x218 | 267 | #define DP_TEST_REQUEST 0x218 |
268 | # define DP_TEST_LINK_TRAINING (1 << 0) | 268 | # define DP_TEST_LINK_TRAINING (1 << 0) |
269 | # define DP_TEST_LINK_PATTERN (1 << 1) | 269 | # define DP_TEST_LINK_VIDEO_PATTERN (1 << 1) |
270 | # define DP_TEST_LINK_EDID_READ (1 << 2) | 270 | # define DP_TEST_LINK_EDID_READ (1 << 2) |
271 | # define DP_TEST_LINK_PHY_TEST_PATTERN (1 << 3) /* DPCD >= 1.1 */ | 271 | # define DP_TEST_LINK_PHY_TEST_PATTERN (1 << 3) /* DPCD >= 1.1 */ |
272 | # define DP_TEST_LINK_FAUX_PATTERN (1 << 4) /* DPCD >= 1.2 */ | ||
272 | 273 | ||
273 | #define DP_TEST_LINK_RATE 0x219 | 274 | #define DP_TEST_LINK_RATE 0x219 |
274 | # define DP_LINK_RATE_162 (0x6) | 275 | # define DP_LINK_RATE_162 (0x6) |