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. TODO: Update the hblank available calculations for Xe3 Vinod Govindapillai (9): drm/i915/display: get rid of encoder param in intel_audio_compute_config 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: update logic to determine crtcstate has audio support drm/i915/display: check and prune audio frequencies based on bw limits drm/i915/display: iterare through channels if no feasible frequencies drm/i915/display: update audio support based on the available frequencies drm/i815/disaply: limit the audio bw check with DP2 config drm/i915/display: update audio bw calculations for MTL drivers/gpu/drm/i915/display/intel_audio.c | 149 ++++++++++++++++++++- drivers/gpu/drm/i915/display/intel_audio.h | 6 +- drivers/gpu/drm/i915/display/intel_dp.c | 67 ++++++++- drivers/gpu/drm/i915/display/intel_hdmi.c | 2 +- drivers/gpu/drm/i915/display/intel_sdvo.c | 2 +- 5 files changed, 211 insertions(+), 15 deletions(-) -- 2.34.1