mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
6ce8f31667
[Why] The drm_audio_component can be used to give pin ELD notifications directly to the sound driver. This fixes audio endpoints disappearing due to missing unsolicited notifications. [How] Send the notification via the audio component whenever we enable or disable audio state on a stream. This matches what i915 does with their drm_audio_component and what Takashi Iwai's proposed hack for radeon/amdpgu did. This is a bit delayed in when the notification actually occurs, however. We wait until after all the programming is complete rather than sending the notification mid sequence. Particular care is needed for the get ELD callback since it can happen outside the locking and fencing DRM does for atomic commits. Cc: Leo Li <sunpeng.li@amd.com> Cc: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
48 lines
1.1 KiB
Plaintext
48 lines
1.1 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
menu "Display Engine Configuration"
|
|
depends on DRM && DRM_AMDGPU
|
|
|
|
config DRM_AMD_DC
|
|
bool "AMD DC - Enable new display engine"
|
|
default y
|
|
select SND_HDA_COMPONENT if SND_HDA_CORE
|
|
select DRM_AMD_DC_DCN1_0 if X86 && !(KCOV_INSTRUMENT_ALL && KCOV_ENABLE_COMPARISONS)
|
|
help
|
|
Choose this option if you want to use the new display engine
|
|
support for AMDGPU. This adds required support for Vega and
|
|
Raven ASICs.
|
|
|
|
config DRM_AMD_DC_DCN1_0
|
|
def_bool n
|
|
help
|
|
RV family support for display engine
|
|
|
|
config DRM_AMD_DC_DCN2_0
|
|
bool "DCN 2.0 family"
|
|
default y
|
|
depends on DRM_AMD_DC && X86
|
|
depends on DRM_AMD_DC_DCN1_0
|
|
help
|
|
Choose this option if you want to have
|
|
Navi support for display engine
|
|
|
|
config DRM_AMD_DC_DSC_SUPPORT
|
|
bool "DSC support"
|
|
default y
|
|
depends on DRM_AMD_DC && X86
|
|
depends on DRM_AMD_DC_DCN1_0
|
|
depends on DRM_AMD_DC_DCN2_0
|
|
help
|
|
Choose this option if you want to have
|
|
Dynamic Stream Compression support
|
|
|
|
config DEBUG_KERNEL_DC
|
|
bool "Enable kgdb break in DC"
|
|
depends on DRM_AMD_DC
|
|
help
|
|
Choose this option
|
|
if you want to hit
|
|
kdgb_break in assert.
|
|
|
|
endmenu
|