|
@@ -58,10 +58,8 @@ static inline bool i915_mmio_reg_valid(i915_reg_t reg)
|
|
|
#define _MMIO_TRANS(tran, a, b) _MMIO(_TRANS(tran, a, b))
|
|
|
#define _PORT(port, a, b) ((a) + (port)*((b)-(a)))
|
|
|
#define _MMIO_PORT(port, a, b) _MMIO(_PORT(port, a, b))
|
|
|
-#define _PIPE3(pipe, ...) _PICK(pipe, __VA_ARGS__)
|
|
|
-#define _MMIO_PIPE3(pipe, a, b, c) _MMIO(_PIPE3(pipe, a, b, c))
|
|
|
-#define _PORT3(port, ...) _PICK(port, __VA_ARGS__)
|
|
|
-#define _MMIO_PORT3(pipe, a, b, c) _MMIO(_PORT3(pipe, a, b, c))
|
|
|
+#define _MMIO_PIPE3(pipe, a, b, c) _MMIO(_PICK(pipe, a, b, c))
|
|
|
+#define _MMIO_PORT3(pipe, a, b, c) _MMIO(_PICK(pipe, a, b, c))
|
|
|
#define _PHY3(phy, ...) _PICK(phy, __VA_ARGS__)
|
|
|
#define _MMIO_PHY3(phy, a, b, c) _MMIO(_PHY3(phy, a, b, c))
|
|
|
|