Skip to contentSkip to conversation

drm: Fix TEST_CRC_COUNT mask name.

PATCH New Rodrigo Vivi 1 participant 1 message Jul 27, 2015

Subsystems (3)
lore
Share & tools
lore

Rodrigo Vivi

author maintainer
#0 lore raw

PATCH 1/1 drm: Fix TEST_CRC_COUNT mask name.

Thierry has noticed that this name was inconsistent with spec.

This was wrong since I had introduced with

commit ad9dc91b6e21 ("drm/i915: Fix Sink CRC")

---
 drivers/gpu/drm/i915/intel_dp.c | 2 +-
 include/drm/drm_dp_helper.h     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/intel_dp.c +1 -1
index e99ec7a..82bf0a7 100644
@@ -4003,7 +4003,7 @@ static int intel_dp_sink_crc_start(struct intel_dp *intel_dp)
 	if (!(buf & DP_TEST_CRC_SUPPORTED))
 		return -ENOTTY;
 
-	intel_dp->sink_crc.last_count = buf & DP_TEST_COUNT_MASK;
+	intel_dp->sink_crc.last_count = buf & DP_TEST_CRC_COUNT_MASK;
 
 	if (drm_dp_dpcd_readb(&intel_dp->aux, DP_TEST_SINK, &buf) < 0)
 		return -EIO;
include/drm/drm_dp_helper.h +1 -1
index 94898f6..f0ff13a 100644
@@ -420,7 +420,7 @@
 
 #define DP_TEST_SINK_MISC		    0x246
 # define DP_TEST_CRC_SUPPORTED		    (1 << 5)
-# define DP_TEST_COUNT_MASK		    0xf
+# define DP_TEST_CRC_COUNT_MASK		    0xf
 
 #define DP_TEST_RESPONSE		    0x260
 # define DP_TEST_ACK			    (1 << 0)
Signature · 6 lines
1.9.3

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx