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