From: Jani Nikula <jani.nikula@linux.intel.com>
To: Ville Syrjala <ville.syrjala@linux.intel.com>,
intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 2/5] drm/i915/bios: Update VBT driver feature block version numbers
Date: Fri, 22 Mar 2024 12:17:29 +0200 [thread overview]
Message-ID: <87bk76lgee.fsf@intel.com> (raw)
In-Reply-To: <20240321161806.31714-3-ville.syrjala@linux.intel.com>
On Thu, 21 Mar 2024, Ville Syrjala <ville.syrjala@linux.intel.com> wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> While the spec does claim that most of the driver feature flags
> start from BDB version 165, reality and some VBIOS code disagrees.
> The VBIOS code says it sart from version 159, and my ILK
*start
> with version 162 definitely has these things already in its
> VBT. Update the version number comments to say 159+ for all
> the bits that seem relevant for pre-hsw hardware.
>
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_vbt_defs.h | 20 +++++++++----------
> 1 file changed, 10 insertions(+), 10 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_vbt_defs.h b/drivers/gpu/drm/i915/display/intel_vbt_defs.h
> index f2506b0be790..24583b455f2d 100644
> --- a/drivers/gpu/drm/i915/display/intel_vbt_defs.h
> +++ b/drivers/gpu/drm/i915/display/intel_vbt_defs.h
> @@ -603,22 +603,22 @@ struct bdb_driver_features {
> u8 custom_vbt_version; /* 155+ */
>
> /* Driver Feature Flags */
> - 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 rmpm_enabled:1; /* 159+ */
> + u16 s2ddt_enabled:1; /* 159+ */
> + u16 dpst_enabled:1; /* 159-227 */
> + u16 bltclt_enabled:1; /* 159+ */
> + u16 adb_enabled:1; /* 159-227 */
> + u16 drrs_enabled:1; /* 159-227 */
> + u16 grs_enabled:1; /* 159+ */
> + u16 gpmt_enabled:1; /* 159+ */
> + u16 tbt_enabled:1; /* 159+ */
> u16 psr_enabled:1; /* 165-227 */
> u16 ips_enabled:1; /* 165+ */
> u16 dfps_enabled:1; /* 165+ */
> u16 dmrrs_enabled:1; /* 174-227 */
> u16 adt_enabled:1; /* ???-228 */
> u16 hpd_wake:1; /* 201-240 */
> - u16 pc_feature_valid:1;
> + u16 pc_feature_valid:1; /* 159+ */
> } __packed;
>
> /*
--
Jani Nikula, Intel
next prev parent reply other threads:[~2024-03-22 10:17 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-21 16:18 [PATCH 0/5] drm/i915/bios: Pimp some VBT definitions Ville Syrjala
2024-03-21 16:18 ` [PATCH 1/5] drm/i915/bios: s/dpfs/dfps/ Ville Syrjala
2024-03-22 10:18 ` Jani Nikula
2024-03-21 16:18 ` [PATCH 2/5] drm/i915/bios: Update VBT driver feature block version numbers Ville Syrjala
2024-03-22 10:17 ` Jani Nikula [this message]
2024-03-22 10:19 ` Jani Nikula
2024-03-21 16:18 ` [PATCH 3/5] drm/i915/bios: Add the old DPST field into VBT LFP power block Ville Syrjala
2024-03-22 10:20 ` Jani Nikula
2024-03-21 16:18 ` [PATCH 4/5] drm/i915/bios: Define the (obsolete) backlight i2c VBT stuff Ville Syrjala
2024-03-22 10:20 ` Jani Nikula
2024-03-21 16:18 ` [PATCH 5/5] drm/i915/bios: Pimp the VBT backlight data BDB version comments Ville Syrjala
2024-03-22 10:20 ` Jani Nikula
2024-03-21 22:14 ` ✓ Fi.CI.BAT: success for drm/i915/bios: Pimp some VBT definitions Patchwork
2024-03-22 14:09 ` ✗ Fi.CI.IGT: failure " 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=87bk76lgee.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