From: Jani Nikula <jani.nikula@linux.intel.com>
To: Ville Syrjala <ville.syrjala@linux.intel.com>,
intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH 02/12] drm/i915: Add some more VBT version number comments
Date: Fri, 02 Sep 2022 18:00:55 +0300 [thread overview]
Message-ID: <87fsh9ddnc.fsf@intel.com> (raw)
In-Reply-To: <20220715202044.11153-3-ville.syrjala@linux.intel.com>
On Fri, 15 Jul 2022, Ville Syrjala <ville.syrjala@linux.intel.com> wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> Document the VBT version dependency of several other fields.
>
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_vbt_defs.h | 76 +++++++++----------
> 1 file changed, 38 insertions(+), 38 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_vbt_defs.h b/drivers/gpu/drm/i915/display/intel_vbt_defs.h
> index ba328d130991..e997b8bcc6b8 100644
> --- a/drivers/gpu/drm/i915/display/intel_vbt_defs.h
> +++ b/drivers/gpu/drm/i915/display/intel_vbt_defs.h
> @@ -502,25 +502,25 @@ struct bdb_general_definitions {
>
> struct psr_table {
> /* Feature bits */
> - u8 full_link:1;
> - u8 require_aux_to_wakeup:1;
> + u8 full_link:1; /* 165+ */
> + u8 require_aux_to_wakeup:1; /* 165+ */
> u8 feature_bits_rsvd:6;
>
> /* Wait times */
> - u8 idle_frames:4;
> - u8 lines_to_wait:3;
> + u8 idle_frames:4; /* 165+ */
> + u8 lines_to_wait:3; /* 165+ */
> u8 wait_times_rsvd:1;
>
> /* TP wake up time in multiple of 100 */
> - u16 tp1_wakeup_time;
> - u16 tp2_tp3_wakeup_time;
> + u16 tp1_wakeup_time; /* 165+ */
> + u16 tp2_tp3_wakeup_time; /* 165+ */
> } __packed;
>
> struct bdb_psr {
> struct psr_table psr_table[16];
>
> /* PSR2 TP2/TP3 wakeup time for 16 panels */
> - u32 psr2_tp2_tp3_wakeup_time;
> + u32 psr2_tp2_tp3_wakeup_time; /* 226+ */
> } __packed;
>
> /*
> @@ -562,28 +562,28 @@ struct bdb_driver_features {
> u16 tv_hotplug:1;
> u16 hdmi_config:2;
>
> - u8 static_display:1;
> + u8 static_display:1; /* 163+ */
> u8 reserved2:7;
> +
> u16 legacy_crt_max_x;
> u16 legacy_crt_max_y;
> u8 legacy_crt_max_refresh;
>
> u8 hdmi_termination;
> - u8 custom_vbt_version;
> - /* Driver features data block */
> - u16 rmpm_enabled:1;
> - u16 s2ddt_enabled:1;
> - u16 dpst_enabled:1;
> - u16 bltclt_enabled:1;
> - u16 adb_enabled:1;
> - u16 drrs_enabled:1;
> - u16 grs_enabled:1;
> - u16 gpmt_enabled:1;
> - u16 tbt_enabled:1;
> - u16 psr_enabled:1;
> - u16 ips_enabled:1;
> + u8 custom_vbt_version; /* 165+ */
That's 155 in current bspec as well as some old doc I had.
Other than that,
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
> + u16 rmpm_enabled:1; /* 165+ */
> + u16 s2ddt_enabled:1; /* 165+ */
> + u16 dpst_enabled:1; /* 165-227 */
> + u16 bltclt_enabled:1; /* 165+ */
> + u16 adb_enabled:1; /* 165-227 */
> + u16 drrs_enabled:1; /* 165-227 */
> + u16 grs_enabled:1; /* 165+ */
> + u16 gpmt_enabled:1; /* 165+ */
> + u16 tbt_enabled:1; /* 165+ */
> + u16 psr_enabled:1; /* 165-227 */
> + u16 ips_enabled:1; /* 165+ */
> u16 reserved3:1;
> - u16 dmrrs_enabled:1;
> + u16 dmrrs_enabled:1; /* 174-227 */
> u16 reserved4:2;
> u16 pc_feature_valid:1;
> } __packed;
> @@ -671,7 +671,7 @@ struct bdb_sdvo_panel_dtds {
>
>
> struct edp_fast_link_params {
> - u8 rate:4;
> + u8 rate:4; /* ???-223 */
> u8 lanes:4;
> u8 preemphasis:4;
> u8 vswing:4;
> @@ -731,7 +731,7 @@ struct bdb_lvds_options {
> u8 pfit_gfx_mode_enhanced:1;
> u8 pfit_ratio_auto:1;
> u8 pixel_dither:1;
> - u8 lvds_edid:1;
> + u8 lvds_edid:1; /* ???-240 */
> u8 rsvd2:1;
> u8 rsvd4;
> /* LVDS Panel channel bits stored here */
> @@ -745,7 +745,7 @@ struct bdb_lvds_options {
> /* LVDS panel type bits stored here */
> u32 dps_panel_type_bits;
> /* LVDS backlight control type bits stored here */
> - u32 blt_control_type_bits;
> + u32 blt_control_type_bits; /* ???-240 */
>
> u16 lcdvcc_s0_enable; /* 200+ */
> u32 rotation; /* 228+ */
> @@ -888,8 +888,8 @@ struct lfp_power_features {
> u8 reserved1:1;
> u8 power_conservation_pref:3;
> u8 reserved2:1;
> - u8 lace_enabled_status:1;
> - u8 lace_support:1;
> + u8 lace_enabled_status:1; /* 210+ */
> + u8 lace_support:1; /* 210+ */
> u8 als_enable:1;
> } __packed;
>
> @@ -909,19 +909,19 @@ struct aggressiveness_profile2_entry {
> } __packed;
>
> struct bdb_lfp_power {
> - struct lfp_power_features features;
> + struct lfp_power_features features; /* ???-227 */
> struct als_data_entry als[5];
> - u8 lace_aggressiveness_profile:3;
> + u8 lace_aggressiveness_profile:3; /* 210-227 */
> u8 reserved1:5;
> - u16 dpst;
> - u16 psr;
> - u16 drrs;
> - u16 lace_support;
> - u16 adt;
> - u16 dmrrs;
> - u16 adb;
> - u16 lace_enabled_status;
> - struct aggressiveness_profile_entry aggressiveness[16];
> + u16 dpst; /* 228+ */
> + u16 psr; /* 228+ */
> + u16 drrs; /* 228+ */
> + u16 lace_support; /* 228+ */
> + u16 adt; /* 228+ */
> + u16 dmrrs; /* 228+ */
> + u16 adb; /* 228+ */
> + u16 lace_enabled_status; /* 228+ */
> + struct aggressiveness_profile_entry aggressiveness[16]; /* 228+ */
> u16 hobl; /* 232+ */
> u16 vrr_feature_enabled; /* 233+ */
> u16 elp; /* 247+ */
--
Jani Nikula, Intel Open Source Graphics Center
next prev parent reply other threads:[~2022-09-02 15:01 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-15 20:20 [Intel-gfx] [PATCH 00/12] drm/i915: More VBT stuff Ville Syrjala
2022-07-15 20:20 ` [Intel-gfx] [PATCH 01/12] drm/i915: Unify VBT version number comments Ville Syrjala
2022-07-19 10:25 ` Rodrigo Vivi
2022-09-01 9:24 ` Ville Syrjälä
2022-07-15 20:20 ` [Intel-gfx] [PATCH 02/12] drm/i915: Add some more " Ville Syrjala
2022-09-02 15:00 ` Jani Nikula [this message]
2022-07-15 20:20 ` [Intel-gfx] [PATCH 03/12] drm/i915: Properly define the DP redriver VBT bits Ville Syrjala
2022-09-02 14:45 ` Jani Nikula
2022-07-15 20:20 ` [Intel-gfx] [PATCH 04/12] drm/i915: Define VBT eDP/DP max lane count bits Ville Syrjala
2022-09-02 14:36 ` Jani Nikula
2022-07-15 20:20 ` [Intel-gfx] [PATCH 05/12] drm/i915: Add the VBT LTTPR transparent vs. non-transparent bits Ville Syrjala
2022-09-02 14:47 ` Jani Nikula
2022-07-15 20:20 ` [Intel-gfx] [PATCH 06/12] drm/i915: Define VBT max HDMI FRL rate bits Ville Syrjala
2022-09-02 14:48 ` Jani Nikula
2022-07-15 20:20 ` [Intel-gfx] [PATCH 07/12] drm/i915: Document the sets of bits in the driver features block Ville Syrjala
2022-09-02 14:05 ` Jani Nikula
2022-07-15 20:20 ` [Intel-gfx] [PATCH 08/12] drm/i915: Define more VBT driver features block bits Ville Syrjala
2022-09-02 14:09 ` Jani Nikula
2022-07-15 20:20 ` [Intel-gfx] [PATCH 09/12] drm/i915: Define all possible VBT device handles Ville Syrjala
2022-09-02 14:13 ` Jani Nikula
2022-07-15 20:20 ` [Intel-gfx] [PATCH 10/12] drm/i915: Rename some VBT bits Ville Syrjala
2022-09-02 14:15 ` Jani Nikula
2022-07-15 20:20 ` [Intel-gfx] [PATCH 11/12] drm/i915: WARN if a port should use VBT provided vswing tables Ville Syrjala
2022-07-19 10:31 ` Rodrigo Vivi
2022-09-01 9:24 ` Ville Syrjälä
2022-09-02 14:01 ` Jani Nikula
2022-07-15 20:20 ` [Intel-gfx] [PATCH 12/12] drm/i915: Parse DP/eDP max lane count from VBT Ville Syrjala
2022-07-19 10:39 ` Rodrigo Vivi
2022-09-01 9:25 ` Ville Syrjälä
2022-09-02 14:42 ` Jani Nikula
2022-07-16 18:13 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: More VBT stuff Patchwork
2022-07-16 21:50 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fsh9ddnc.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=ville.syrjala@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox