Commit b395c29a authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915: Read DRRS MSA timing delay from VBT

VBT hsa a field for the MSA timing delay, which supposedly
should be used with DRRS. Extract the data from the VBT.
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220310004802.16310-5-ville.syrjala@linux.intel.comReviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 5f6a9bea
...@@ -888,6 +888,9 @@ parse_edp(struct drm_i915_private *i915, const struct bdb_header *bdb) ...@@ -888,6 +888,9 @@ parse_edp(struct drm_i915_private *i915, const struct bdb_header *bdb)
i915->vbt.edp.low_vswing = vswing == 0; i915->vbt.edp.low_vswing = vswing == 0;
} }
} }
i915->vbt.edp.drrs_msa_timing_delay =
(edp->sdrrs_msa_timing_delay >> (panel_type * 2)) & 3;
} }
static void static void
......
...@@ -356,10 +356,11 @@ struct intel_vbt_data { ...@@ -356,10 +356,11 @@ struct intel_vbt_data {
int lanes; int lanes;
int preemphasis; int preemphasis;
int vswing; int vswing;
bool low_vswing;
bool initialized;
int bpp; int bpp;
struct edp_power_seq pps; struct edp_power_seq pps;
u8 drrs_msa_timing_delay;
bool low_vswing;
bool initialized;
bool hobl; bool hobl;
} edp; } edp;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment