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