98 lines · plain
1# SPDX-License-Identifier: MIT2 3config DRM_AMDGPU4 tristate "AMD GPU"5 depends on DRM && PCI && MMU6 depends on !UML7 select FW_LOADER8 select DRM_DISPLAY_DP_HELPER9 select DRM_DISPLAY_HDMI_HELPER10 select DRM_DISPLAY_HDCP_HELPER11 select DRM_DISPLAY_HELPER12 select DRM_KMS_HELPER13 select DRM_SCHED14 select DRM_TTM15 select DRM_TTM_HELPER16 select POWER_SUPPLY17 select HWMON18 select I2C19 select I2C_ALGOBIT20 select CRC1621 select BACKLIGHT_CLASS_DEVICE22 select INTERVAL_TREE23 select DRM_BUDDY24 select DRM_SUBALLOC_HELPER25 select DRM_EXEC26 # amdgpu depends on ACPI_VIDEO when ACPI is enabled, for select to work27 # ACPI_VIDEO's dependencies must also be selected.28 select INPUT if ACPI29 select ACPI_VIDEO if ACPI30 # On x86 ACPI_VIDEO also needs ACPI_WMI31 select X86_PLATFORM_DEVICES if ACPI && X8632 select ACPI_WMI if ACPI && X8633 help34 Choose this option if you have a recent AMD Radeon graphics card.35 36 If M is selected, the module will be called amdgpu.37 38config DRM_AMDGPU_SI39 bool "Enable amdgpu support for SI parts"40 depends on DRM_AMDGPU41 help42 Choose this option if you want to enable experimental support43 for SI (Southern Islands) asics.44 45 SI is already supported in radeon. Experimental support for SI46 in amdgpu will be disabled by default and is still provided by47 radeon. Use module options to override this:48 49 radeon.si_support=0 amdgpu.si_support=150 51config DRM_AMDGPU_CIK52 bool "Enable amdgpu support for CIK parts"53 depends on DRM_AMDGPU54 help55 Choose this option if you want to enable support for CIK (Sea56 Islands) asics.57 58 CIK is already supported in radeon. Support for CIK in amdgpu59 will be disabled by default and is still provided by radeon.60 Use module options to override this:61 62 radeon.cik_support=0 amdgpu.cik_support=163 64config DRM_AMDGPU_USERPTR65 bool "Always enable userptr write support"66 depends on DRM_AMDGPU67 depends on MMU68 select HMM_MIRROR69 select MMU_NOTIFIER70 help71 This option selects CONFIG_HMM and CONFIG_HMM_MIRROR if it72 isn't already selected to enabled full userptr support.73 74config DRM_AMD_ISP75 bool "Enable AMD Image Signal Processor IP support"76 depends on DRM_AMDGPU77 select MFD_CORE78 select PM_GENERIC_DOMAINS if PM79 help80 Choose this option to enable ISP IP support for AMD SOCs.81 This adds the ISP (Image Signal Processor) IP driver and wires82 it up into the amdgpu driver. It is required for cameras83 on APUs which utilize mipi cameras.84 85config DRM_AMDGPU_WERROR86 bool "Force the compiler to throw an error instead of a warning when compiling"87 depends on DRM_AMDGPU88 depends on EXPERT89 depends on !COMPILE_TEST90 default n91 help92 Add -Werror to the build flags for amdgpu.ko.93 Only enable this if you are warning code for amdgpu.ko.94 95source "drivers/gpu/drm/amd/acp/Kconfig"96source "drivers/gpu/drm/amd/display/Kconfig"97source "drivers/gpu/drm/amd/amdkfd/Kconfig"98