summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2024-05-21 17:30:22 +0300
committerImre Deak <imre.deak@intel.com>2024-05-24 16:02:40 +0300
commitfdd0b80172758ce284f19fa8a26d90c61e4371d2 (patch)
treee05973396ae8d3da3a3342a070b7155c0cdf0eb3 /tools/perf/scripts/python
parenteff70dac16d1f87c262049783b3281b706448593 (diff)
downloadlinux-fdd0b80172758ce284f19fa8a26d90c61e4371d2.tar.gz
linux-fdd0b80172758ce284f19fa8a26d90c61e4371d2.zip
drm/i915: Fix audio component initialization
After registering the audio component in i915_audio_component_init() the audio driver may call i915_audio_component_get_power() via the component ops. This could program AUD_FREQ_CNTRL with an uninitialized value if the latter function is called before display.audio.freq_cntrl gets initialized. The get_power() function also does a modeset which in the above case happens too early before the initialization step and triggers the "Reject display access from task" error message added by the Fixes: commit below. Fix the above issue by registering the audio component only after the initialization step. Fixes: 87c1694533c9 ("drm/i915: save AUD_FREQ_CNTRL state at audio domain suspend") Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/10291 Cc: stable@vger.kernel.org # v5.5+ Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240521143022.3784539-1-imre.deak@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions