[PATCH 8/9] drm/i815/disaply: limit the audio bw check with DP2 config
Vinod Govindapillai
vinod.govindapillai at intel.com
Tue Oct 8 08:23:26 UTC 2024
Limit the audio bw check with DP2 configurations only
Signed-off-by: Vinod Govindapillai <vinod.govindapillai at intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index dde7244ccd15..8f04796f3eb8 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -3048,7 +3048,8 @@ intel_dp_audio_compute_config(struct intel_encoder *encoder,
{
pipe_config->has_audio = intel_dp_has_audio(encoder, conn_state);
- pipe_config->has_audio = pipe_config->has_audio &&
+ if (intel_dp_is_uhbr(pipe_config))
+ pipe_config->has_audio = pipe_config->has_audio &&
intel_dp_audio_compute_bw_limits(pipe_config, conn_state);
pipe_config->has_audio = pipe_config->has_audio &&
--
2.34.1
More information about the Intel-gfx
mailing list