summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2024-05-03 15:24:32 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2024-05-08 16:41:19 +0300
commit95f4cbc8fb323b5174dcdde87da0b04161796a63 (patch)
treec30664ccb9cd0bcc359229409f49f363c374feb8 /drivers/gpu
parent8e94221f78018338e1a5791cec0394b13dd0b13d (diff)
drm/i915/bios: Define VBT block 18 (Driver Rotation) contents
Define the contents of block 18 (Driver Rotation). Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240503122449.27266-19-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/display/intel_vbt_defs.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_vbt_defs.h b/drivers/gpu/drm/i915/display/intel_vbt_defs.h
index 43e96260a532..09d16704936b 100644
--- a/drivers/gpu/drm/i915/display/intel_vbt_defs.h
+++ b/drivers/gpu/drm/i915/display/intel_vbt_defs.h
@@ -846,6 +846,18 @@ struct bdb_sv_test_functions {
} __packed;
/*
+ * Block 18 - Driver Rotation
+ */
+
+struct bdb_driver_rotation {
+ u8 rotation_enable;
+ u8 rotation_flags_1;
+ u16 rotation_flags_2;
+ u32 rotation_flags_3;
+ u32 rotation_flags_4;
+} __packed;
+
+/*
* Block 22 - SDVO LVDS General Options
*/