Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Ville Syrjala <ville.syrjala@linux.intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH 3/5] drm/i915/bios: Add the old DPST field into VBT LFP power block
Date: Thu, 21 Mar 2024 18:18:04 +0200	[thread overview]
Message-ID: <20240321161806.31714-4-ville.syrjala@linux.intel.com> (raw)
In-Reply-To: <20240321161806.31714-1-ville.syrjala@linux.intel.com>

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

According to some VBIOS sources the LFP power block used to
have a single bit for DPST support. In version 159 that bit
got moved into the driver features block, and then in version
228 back into the LFP power block (but this time as a
per-panel thing). We have definitions for the last two, but
not the original bit. Define it as well.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 drivers/gpu/drm/i915/display/intel_vbt_defs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_vbt_defs.h b/drivers/gpu/drm/i915/display/intel_vbt_defs.h
index 24583b455f2d..5da8ae407dfd 100644
--- a/drivers/gpu/drm/i915/display/intel_vbt_defs.h
+++ b/drivers/gpu/drm/i915/display/intel_vbt_defs.h
@@ -918,7 +918,7 @@ struct bdb_lfp_backlight_data {
  * Block 44 - LFP Power Conservation Features Block
  */
 struct lfp_power_features {
-	u8 reserved1:1;
+	u8 dpst_support:1;						/* ???-159 */
 	u8 power_conservation_pref:3;
 	u8 reserved2:1;
 	u8 lace_enabled_status:1;					/* 210+ */
-- 
2.43.2


  parent reply	other threads:[~2024-03-21 16:18 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
2024-03-22 10:19   ` Jani Nikula
2024-03-21 16:18 ` Ville Syrjala [this message]
2024-03-22 10:20   ` [PATCH 3/5] drm/i915/bios: Add the old DPST field into VBT LFP power block 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=20240321161806.31714-4-ville.syrjala@linux.intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /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