b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | menu "Display Engine Configuration" |
| 3 | depends on DRM && DRM_AMDGPU |
| 4 | |
| 5 | config DRM_AMD_DC |
| 6 | bool "AMD DC - Enable new display engine" |
| 7 | default y |
| 8 | select SND_HDA_COMPONENT if SND_HDA_CORE |
| 9 | select DRM_AMD_DC_DCN1_0 if X86 && !(KCOV_INSTRUMENT_ALL && KCOV_ENABLE_COMPARISONS) |
| 10 | help |
| 11 | Choose this option if you want to use the new display engine |
| 12 | support for AMDGPU. This adds required support for Vega and |
| 13 | Raven ASICs. |
| 14 | |
| 15 | config DRM_AMD_DC_DCN1_0 |
| 16 | def_bool n |
| 17 | help |
| 18 | RV family support for display engine |
| 19 | |
| 20 | config DRM_AMD_DC_DCN2_0 |
| 21 | bool "DCN 2.0 family" |
| 22 | default y |
| 23 | depends on DRM_AMD_DC && X86 |
| 24 | depends on DRM_AMD_DC_DCN1_0 |
| 25 | help |
| 26 | Choose this option if you want to have |
| 27 | Navi support for display engine |
| 28 | |
| 29 | config DRM_AMD_DC_DCN2_1 |
| 30 | bool "DCN 2.1 family" |
| 31 | depends on DRM_AMD_DC && X86 |
| 32 | depends on DRM_AMD_DC_DCN2_0 |
| 33 | help |
| 34 | Choose this option if you want to have |
| 35 | Renoir support for display engine |
| 36 | |
| 37 | config DRM_AMD_DC_DSC_SUPPORT |
| 38 | bool "DSC support" |
| 39 | default y |
| 40 | depends on DRM_AMD_DC && X86 |
| 41 | depends on DRM_AMD_DC_DCN1_0 |
| 42 | depends on DRM_AMD_DC_DCN2_0 |
| 43 | help |
| 44 | Choose this option if you want to have |
| 45 | Dynamic Stream Compression support |
| 46 | |
| 47 | config DEBUG_KERNEL_DC |
| 48 | bool "Enable kgdb break in DC" |
| 49 | depends on DRM_AMD_DC |
| 50 | help |
| 51 | Choose this option |
| 52 | if you want to hit |
| 53 | kdgb_break in assert. |
| 54 | |
| 55 | endmenu |