OSDN Git Service

drm/i915: Define all possible VBT device handles
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 15 Jul 2022 20:20:41 +0000 (23:20 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 5 Sep 2022 12:19:23 +0000 (15:19 +0300)
We already have LFP1 and LFP2 device handles define. Just
add all the rest as well.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220715202044.11153-10-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_vbt_defs.h

index 51e85f8..9057b28 100644 (file)
@@ -197,6 +197,15 @@ struct bdb_general_features {
 #define GPIO_PIN_ADD_DDC_I2C   0x06 /* "ADDCARD DDC/I2C GPIO pins" */
 
 /* Device handle */
+#define DEVICE_HANDLE_CRT      0x0001
+#define DEVICE_HANDLE_EFP1     0x0004
+#define DEVICE_HANDLE_EFP2     0x0040
+#define DEVICE_HANDLE_EFP3     0x0020
+#define DEVICE_HANDLE_EFP4     0x0010 /* 194+ */
+#define DEVICE_HANDLE_EFP5     0x0002 /* 215+ */
+#define DEVICE_HANDLE_EFP6     0x0001 /* 217+ */
+#define DEVICE_HANDLE_EFP7     0x0100 /* 217+ */
+#define DEVICE_HANDLE_EFP8     0x0200 /* 217+ */
 #define DEVICE_HANDLE_LFP1     0x0008
 #define DEVICE_HANDLE_LFP2     0x0080