[PATCH 0/4] Get optimal audio frequency and channels
Mitul Golani
mitulkumar.ajitkumar.golani at intel.com
Mon Jun 5 08:46:04 UTC 2023
Obtain the optimal audio rate and channel based on available display
timing constraints.
This can be achieved by:
- Adding DRM wrappers to retrieve the supported channel and rate
information from SADs.
- Adding audio-related config parameters in the CRTC state, such
as audio support, rate, and channel.
- Initializing the audio config parameters with the maximum supported
rate and channel by the audio source.
- Computing the SADs based on the audio source's capabilities.
Signed-off-by: Mitul Golani <mitulkumar.ajitkumar.golani at intel.com>
Mitul Golani (4):
drm/i915/hdmi: Add audio config related params in crtc_state
drm/i915/display: Update access of has_audio param
drm/i915/display: Add wrapper to Compute SAD
drm/i915/display: Initialize and compute HDMI Audio source cap
drivers/gpu/drm/i915/display/g4x_dp.c | 4 +-
drivers/gpu/drm/i915/display/g4x_hdmi.c | 16 ++---
drivers/gpu/drm/i915/display/intel_audio.c | 72 ++++++++++++++++++-
drivers/gpu/drm/i915/display/intel_audio.h | 1 +
drivers/gpu/drm/i915/display/intel_cdclk.c | 6 +-
.../drm/i915/display/intel_crtc_state_dump.c | 4 +-
drivers/gpu/drm/i915/display/intel_ddi.c | 2 +-
drivers/gpu/drm/i915/display/intel_display.c | 4 +-
.../drm/i915/display/intel_display_types.h | 12 +++-
drivers/gpu/drm/i915/display/intel_dp.c | 2 +-
drivers/gpu/drm/i915/display/intel_dp_mst.c | 2 +-
drivers/gpu/drm/i915/display/intel_hdmi.c | 40 ++++++++++-
drivers/gpu/drm/i915/display/intel_hdmi.h | 1 +
drivers/gpu/drm/i915/display/intel_sdvo.c | 10 +--
14 files changed, 144 insertions(+), 32 deletions(-)
--
2.25.1
More information about the Intel-gfx-trybot
mailing list