hrev51967 adds 1 changeset to branch 'master'
old head: 66e852769e9688e327d77ea5bb2ec43aaec6023d
new head: 7f167d4f4a8c2585e9b8453e39ab2c003e362e86
overview:
https://git.haiku-os.org/haiku/log/?qt=range&q=7f167d4f4a8c+%5E66e852769e96
----------------------------------------------------------------------------
7f167d4f4a8c: radeon_hd/dp: Fix bug in lane training. Kudos gcc7
* GCC7's static analysis found this one and it still
took #gcc and me a while to spot. Nice work gcc7!
* Should help DisplayPort training issues :-)
Change-Id: I9b47f13c95e622a2c08ff329ec9c3fc7e3db493d
[ Alexander von Gluck IV <kallisti5@xxxxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev51967
Commit: 7f167d4f4a8c2585e9b8453e39ab2c003e362e86
URL: https://git.haiku-os.org/haiku/commit/?id=7f167d4f4a8c
Author: Alexander von Gluck IV <kallisti5@xxxxxxxxxxx>
Date: Mon May 21 23:02:28 2018 UTC
----------------------------------------------------------------------------
1 file changed, 6 insertions(+), 6 deletions(-)
headers/private/graphics/common/dp_raw.h | 12 ++++++------
----------------------------------------------------------------------------
diff --git a/headers/private/graphics/common/dp_raw.h
b/headers/private/graphics/common/dp_raw.h
index 4ce95a1050..e218e4c13d 100644
--- a/headers/private/graphics/common/dp_raw.h
+++ b/headers/private/graphics/common/dp_raw.h
@@ -170,12 +170,12 @@
#define DP_LANE_STATUS_CR_DONE_B (1 << 4) // Bool
#define DP_LANE_STATUS_CHEQ_DONE_B (1 << 5) // Bool
#define DP_LANE_STATUS_SYMB_LOCK_B (1 << 6) // Bool
-#define DP_LANE_STATUS_EQUALIZED_A
DP_LANE_STATUS_CR_DONE_A \
-
|| DP_LANE_STATUS_CHEQ_DONE_A \
-
|| DP_LANE_STATUS_SYMB_LOCK_A
-#define DP_LANE_STATUS_EQUALIZED_B
DP_LANE_STATUS_CR_DONE_B \
-
|| DP_LANE_STATUS_CHEQ_DONE_B \
-
|| DP_LANE_STATUS_SYMB_LOCK_B
+#define DP_LANE_STATUS_EQUALIZED_A
(DP_LANE_STATUS_CR_DONE_A \
+
| DP_LANE_STATUS_CHEQ_DONE_A \
+
| DP_LANE_STATUS_SYMB_LOCK_A)
+#define DP_LANE_STATUS_EQUALIZED_B
(DP_LANE_STATUS_CR_DONE_B \
+
| DP_LANE_STATUS_CHEQ_DONE_B \
+
| DP_LANE_STATUS_SYMB_LOCK_B)
// DP Lane Align Status (0x0204)
#define DP_LANE_ALIGN 0x0204
// Reg
#define DP_LANE_ALIGN_DONE (1 << 0)
// Bool