]> git.dujemihanovic.xyz Git - linux.git/commit
drm/i915/audio: Fix audio time stamp programming for DP
authorChaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Tue, 30 Apr 2024 09:18:25 +0000 (14:48 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 6 May 2024 18:15:28 +0000 (14:15 -0400)
commitc66b8356273c8d22498f88e4223af47a7bf8a23c
tree93d741efcac028c7b67aaf468f5e59ad04d4c5ba
parent51c1b42a232f17743cd825be6790cb64735ff98f
drm/i915/audio: Fix audio time stamp programming for DP

Intel hardware is capable of programming the Maud/Naud SDPs on its
own based on real-time clocks. While doing so, it takes care
of any deviations from the theoretical values. Programming the registers
explicitly with static values can interfere with this logic. Therefore,
let the HW decide the Maud and Naud SDPs on it's own.

Cc: stable@vger.kernel.org # v5.17
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/8097
Co-developed-by: Kai Vehmanen <kai.vehmanen@intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@intel.com>
Signed-off-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Animesh Manna <animesh.manna@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240430091825.733499-1-chaitanya.kumar.borah@intel.com
(cherry picked from commit 8e056b50d92ae7f4d6895d1c97a69a2a953cf97b)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/display/intel_audio.c