1# SPDX-License-Identifier: MIT 2 3config DRM_AMDGPU 4 tristate "AMD GPU" 5 depends on DRM && PCI && MMU 6 depends on !UML 7 select FW_LOADER 8 select DRM_CLIENT 9 select DRM_CLIENT_SELECTION 10 select DRM_DISPLAY_DP_HELPER 11 select DRM_DISPLAY_DSC_HELPER 12 select DRM_DISPLAY_HDMI_HELPER 13 select DRM_DISPLAY_HDCP_HELPER 14 select DRM_DISPLAY_HELPER 15 select DRM_KMS_HELPER 16 select DRM_SCHED 17 select DRM_TTM 18 select DRM_TTM_HELPER 19 select POWER_SUPPLY 20 select HWMON 21 select I2C 22 select I2C_ALGOBIT 23 select CRC16 24 select BACKLIGHT_CLASS_DEVICE 25 select INTERVAL_TREE 26 select DRM_BUDDY 27 select DRM_SUBALLOC_HELPER 28 select DRM_EXEC 29 # amdgpu depends on ACPI_VIDEO when ACPI is enabled, for select to work 30 # ACPI_VIDEO's dependencies must also be selected. 31 select INPUT if ACPI 32 select ACPI_VIDEO if ACPI 33 # On x86 ACPI_VIDEO also needs ACPI_WMI 34 select X86_PLATFORM_DEVICES if ACPI && X86 35 select ACPI_WMI if ACPI && X86 36 help 37 Choose this option if you have a recent AMD Radeon graphics card. 38 39 If M is selected, the module will be called amdgpu. 40 41config DRM_AMDGPU_SI 42 bool "Enable amdgpu support for SI parts" 43 depends on DRM_AMDGPU 44 help 45 Choose this option if you want to enable experimental support 46 for SI (Southern Islands) asics. 47 48 SI is already supported in radeon. Experimental support for SI 49 in amdgpu will be disabled by default and is still provided by 50 radeon. Use module options to override this: 51 52 radeon.si_support=0 amdgpu.si_support=1 53 54config DRM_AMDGPU_CIK 55 bool "Enable amdgpu support for CIK parts" 56 depends on DRM_AMDGPU 57 help 58 Choose this option if you want to enable support for CIK (Sea 59 Islands) asics. 60 61 CIK is already supported in radeon. Support for CIK in amdgpu 62 will be disabled by default and is still provided by radeon. 63 Use module options to override this: 64 65 radeon.cik_support=0 amdgpu.cik_support=1 66 67config DRM_AMDGPU_USERPTR 68 bool "Always enable userptr write support" 69 depends on DRM_AMDGPU 70 depends on MMU 71 select HMM_MIRROR 72 select MMU_NOTIFIER 73 help 74 This option selects CONFIG_HMM and CONFIG_HMM_MIRROR if it 75 isn't already selected to enabled full userptr support. 76 77config DRM_AMD_ISP 78 bool "Enable AMD Image Signal Processor IP support" 79 depends on DRM_AMDGPU 80 select MFD_CORE 81 select PM_GENERIC_DOMAINS if PM 82 help 83 Choose this option to enable ISP IP support for AMD SOCs. 84 This adds the ISP (Image Signal Processor) IP driver and wires 85 it up into the amdgpu driver. It is required for cameras 86 on APUs which utilize mipi cameras. 87 88config DRM_AMDGPU_WERROR 89 bool "Force the compiler to throw an error instead of a warning when compiling" 90 depends on DRM_AMDGPU 91 depends on EXPERT 92 depends on !COMPILE_TEST 93 default n 94 help 95 Add -Werror to the build flags for amdgpu.ko. 96 Only enable this if you are warning code for amdgpu.ko. 97 98source "drivers/gpu/drm/amd/acp/Kconfig" 99source "drivers/gpu/drm/amd/display/Kconfig" 100source "drivers/gpu/drm/amd/amdkfd/Kconfig" 101