drm/i915/bios: make the aux channel macros private to the vbt parser
authorJani Nikula <jani.nikula@intel.com>
Thu, 15 Nov 2018 10:52:37 +0000 (12:52 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 15 Nov 2018 14:22:17 +0000 (16:22 +0200)
Hide the aux channel macros in intel_vbt_defs.h now that their use has
been abstracted in intel_bios_port_aux_ch().

Cc: Imre Deak <imre.deak@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181115105237.1237-3-jani.nikula@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_vbt_defs.h

index d100c38697ffa9f85fcdb94d70f5ba8d1ab0219b..d69b71d368d38bdf08e136882f2f158046732101 100644 (file)
@@ -1053,13 +1053,6 @@ struct i915_gem_mm {
 
 #define I915_ENGINE_WEDGED_TIMEOUT  (60 * HZ)  /* Reset but no recovery? */
 
-#define DP_AUX_A 0x40
-#define DP_AUX_B 0x10
-#define DP_AUX_C 0x20
-#define DP_AUX_D 0x30
-#define DP_AUX_E 0x50
-#define DP_AUX_F 0x60
-
 struct ddi_vbt_port_info {
        int max_tmds_clock;
 
index bba98cf83cbd9d1c0348e42acb5f8fba98a106dc..bf3662ad5fed1ebcb3a49a870ccdd2de4de3fbeb 100644 (file)
@@ -326,6 +326,13 @@ enum vbt_gmbus_ddi {
        ICL_DDC_BUS_PORT_4,
 };
 
+#define DP_AUX_A 0x40
+#define DP_AUX_B 0x10
+#define DP_AUX_C 0x20
+#define DP_AUX_D 0x30
+#define DP_AUX_E 0x50
+#define DP_AUX_F 0x60
+
 #define VBT_DP_MAX_LINK_RATE_HBR3      0
 #define VBT_DP_MAX_LINK_RATE_HBR2      1
 #define VBT_DP_MAX_LINK_RATE_HBR       2