[PATCH v2 0/6] prunue audio frequencies based on bw limits for DP2

Vinod Govindapillai vinod.govindapillai at intel.com
Wed Nov 27 12:07:09 UTC 2024


Implement pruning of unsupported audio frequencies from SAD frequency
list based on the audio bw calculation specified in Bspec: 67768. First
for the maximum number of channels, supported audio frequency list is
checked. If there are no available frequencies exist for channel, channel
is reduced and the assessment is done again. Eventually both supported
audio frequency and channels are updated to SAD in ELD.

v2: updated the series based on review comments. One patch from the
    previous revision is dropped and two other patches squashed to
    another patch

Audio bw limits calculations for xe3 need to be addressed separately

Vinod Govindapillai (6):
  drm/i915/display: create a common function to check validity of ELD
  drm/i915/display: update call to intel_dp_audio_compute_config
  drm/i915/display: check and prune audio frequencies based on bw limits
    in DP2.0
  drm/i915/display: iterate through channels if no feasible frequencies
  drm/i915/display: update audio support based on the available
    frequencies
  drm/i915/display: update audio bw calculations for MTL

 drivers/gpu/drm/i915/display/intel_audio.c | 159 ++++++++++++++++++++-
 drivers/gpu/drm/i915/display/intel_audio.h |   4 +
 drivers/gpu/drm/i915/display/intel_dp.c    |  78 +++++++++-
 3 files changed, 231 insertions(+), 10 deletions(-)

-- 
2.34.1



More information about the Intel-gfx mailing list