1# SPDX-License-Identifier: MIT 2 3config DRM_AMDGPU 4 tristate "AMD GPU" 5 depends on DRM && PCI && MMU 6 select FW_LOADER 7 select DRM_DISPLAY_DP_HELPER 8 select DRM_DISPLAY_HDMI_HELPER 9 select DRM_DISPLAY_HELPER 10 select DRM_KMS_HELPER 11 select DRM_SCHED 12 select DRM_TTM 13 select DRM_TTM_HELPER 14 select POWER_SUPPLY 15 select HWMON 16 select I2C 17 select I2C_ALGOBIT 18 select BACKLIGHT_CLASS_DEVICE 19 select INTERVAL_TREE 20 select DRM_BUDDY 21 # amdgpu depends on ACPI_VIDEO when ACPI is enabled, for select to work 22 # ACPI_VIDEO's dependencies must also be selected. 23 select INPUT if ACPI 24 select ACPI_VIDEO if ACPI 25 # On x86 ACPI_VIDEO also needs ACPI_WMI 26 select X86_PLATFORM_DEVICES if ACPI && X86 27 select ACPI_WMI if ACPI && X86 28 help 29 Choose this option if you have a recent AMD Radeon graphics card. 30 31 If M is selected, the module will be called amdgpu. 32 33config DRM_AMDGPU_SI 34 bool "Enable amdgpu support for SI parts" 35 depends on DRM_AMDGPU 36 help 37 Choose this option if you want to enable experimental support 38 for SI (Southern Islands) asics. 39 40 SI is already supported in radeon. Experimental support for SI 41 in amdgpu will be disabled by default and is still provided by 42 radeon. Use module options to override this: 43 44 radeon.si_support=0 amdgpu.si_support=1 45 46config DRM_AMDGPU_CIK 47 bool "Enable amdgpu support for CIK parts" 48 depends on DRM_AMDGPU 49 help 50 Choose this option if you want to enable support for CIK (Sea 51 Islands) asics. 52 53 CIK is already supported in radeon. Support for CIK in amdgpu 54 will be disabled by default and is still provided by radeon. 55 Use module options to override this: 56 57 radeon.cik_support=0 amdgpu.cik_support=1 58 59config DRM_AMDGPU_USERPTR 60 bool "Always enable userptr write support" 61 depends on DRM_AMDGPU 62 depends on MMU 63 select HMM_MIRROR 64 select MMU_NOTIFIER 65 help 66 This option selects CONFIG_HMM and CONFIG_HMM_MIRROR if it 67 isn't already selected to enabled full userptr support. 68 69source "drivers/gpu/drm/amd/acp/Kconfig" 70source "drivers/gpu/drm/amd/display/Kconfig" 71source "drivers/gpu/drm/amd/amdkfd/Kconfig" 72