]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm/i915/bios: Define "TV" child device handle
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 3 May 2024 12:24:20 +0000 (15:24 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 8 May 2024 13:34:55 +0000 (16:34 +0300)
Child device 0x2 used to be "TV" until redefined to mean
EFP5 in version 215. Add a define for the old meaning as well.

Technically it was probably deprecated a lot before version
215 since native TV encoders were last seen on CTG, and SDVO
was fully gone by HSW. So something like "???-164" might also
be a reasonable way to document this, but no real harm in
saying "???-214" since nothing else presumably occupied that
bit in the meantime.

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

index 038f489d034ce29ad2e5de39a2dfc7ec1c1c9557..e616beb62b3937386577566a811aaac10447efe1 100644 (file)
@@ -242,6 +242,7 @@ struct bdb_general_features {
 
 /* Device handle */
 #define DEVICE_HANDLE_CRT      0x0001
+#define DEVICE_HANDLE_TV       0x0002 /* ???-214 */
 #define DEVICE_HANDLE_EFP1     0x0004
 #define DEVICE_HANDLE_EFP2     0x0040
 #define DEVICE_HANDLE_EFP3     0x0020