[PATCH 9/9] drm/i915/display: update audio bw calculations for MTL
Vinod Govindapillai
vinod.govindapillai at intel.com
Tue Oct 8 08:23:27 UTC 2024
Update the reference overhaed values for audio bw calculations
for MTL onwards
Bspec: 67768
Signed-off-by: Vinod Govindapillai <vinod.govindapillai at intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 8f04796f3eb8..c245a5f9c4c0 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -3025,10 +3025,15 @@ intel_dp_audio_compute_bw_limits(struct intel_crtc_state *crtc_state,
{
struct drm_i915_private *i915 = to_i915(crtc_state->uapi.crtc->dev);
int hblank_bytes_avail_overhead = 64;
- int hblank_bytes_req_overhead = 80;
+ int hblank_bytes_req_overhead;
int hblank_slots_lanes;
int line_freq_khz;
+ if (DISPLAY_VER(i915) >= 14)
+ hblank_bytes_req_overhead = 0;
+ else
+ hblank_bytes_req_overhead = 80;
+
intel_dp_compute_audio_bwparams(crtc_state, &line_freq_khz,
&hblank_slots_lanes);
drm_dbg_kms(&i915->drm,
--
2.34.1
More information about the Intel-gfx
mailing list