diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-07-15 23:20:39 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-09-05 15:17:46 +0300 |
commit | 490d95c70e9d2debd2be0f7bda524c28fc009da1 (patch) | |
tree | c30a54df75fc4953a3b1dbe2f1e9a6d302ef0e2a | |
parent | 5fe9eea5eda09a5b02398671def156e16162eeb4 (diff) | |
download | linux-490d95c70e9d2debd2be0f7bda524c28fc009da1.tar.xz |
drm/i915: Document the sets of bits in the driver features block
Add a few comment documenting the sets of bits in the driver
features block. Might make it a bit easier to check against
the spec.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220715202044.11153-8-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_vbt_defs.h | 7 |
1 files changed, 7 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 f376d4194491..133e6029ecb4 100644 --- a/drivers/gpu/drm/i915/display/intel_vbt_defs.h +++ b/drivers/gpu/drm/i915/display/intel_vbt_defs.h @@ -542,6 +542,7 @@ struct bdb_psr { #define BDB_DRIVER_FEATURE_INT_SDVO_LVDS 3 struct bdb_driver_features { + /* Driver bits */ u8 boot_dev_algorithm:1; u8 block_display_switch:1; u8 allow_display_switch:1; @@ -556,6 +557,7 @@ struct bdb_driver_features { u8 boot_mode_bpp; u8 boot_mode_refresh; + /* Extended Driver Bits 1 */ u16 enable_lfp_primary:1; u16 selective_mode_pruning:1; u16 dual_frequency:1; @@ -571,6 +573,7 @@ struct bdb_driver_features { u16 tv_hotplug:1; u16 hdmi_config:2; + /* Driver Flags 1 */ u8 static_display:1; /* 163+ */ u8 reserved2:7; @@ -578,8 +581,12 @@ struct bdb_driver_features { u16 legacy_crt_max_y; u8 legacy_crt_max_refresh; + /* Extended Driver Bits 2 */ u8 hdmi_termination; + u8 custom_vbt_version; /* 155+ */ + + /* Driver Feature Flags */ u16 rmpm_enabled:1; /* 165+ */ u16 s2ddt_enabled:1; /* 165+ */ u16 dpst_enabled:1; /* 165-227 */ |