1bd95c144SAlex Deucher# SPDX-License-Identifier: MIT 2cb20d650SAndrew Davis 3cb20d650SAndrew Davisconfig DRM_AMDGPU 4cb20d650SAndrew Davis tristate "AMD GPU" 5cb20d650SAndrew Davis depends on DRM && PCI && MMU 6cb20d650SAndrew Davis select FW_LOADER 7cb20d650SAndrew Davis select DRM_DISPLAY_DP_HELPER 8cb20d650SAndrew Davis select DRM_DISPLAY_HDMI_HELPER 9cb20d650SAndrew Davis select DRM_DISPLAY_HELPER 10cb20d650SAndrew Davis select DRM_KMS_HELPER 11cb20d650SAndrew Davis select DRM_SCHED 12cb20d650SAndrew Davis select DRM_TTM 13cb20d650SAndrew Davis select DRM_TTM_HELPER 14cb20d650SAndrew Davis select POWER_SUPPLY 15cb20d650SAndrew Davis select HWMON 16000458b5SUwe Kleine-König select I2C 17000458b5SUwe Kleine-König select I2C_ALGOBIT 18cb20d650SAndrew Davis select BACKLIGHT_CLASS_DEVICE 19cb20d650SAndrew Davis select INTERVAL_TREE 20cb20d650SAndrew Davis select DRM_BUDDY 21*c103a23fSMaarten Lankhorst select DRM_SUBALLOC_HELPER 22cb20d650SAndrew Davis # amdgpu depends on ACPI_VIDEO when ACPI is enabled, for select to work 23cb20d650SAndrew Davis # ACPI_VIDEO's dependencies must also be selected. 24cb20d650SAndrew Davis select INPUT if ACPI 25cb20d650SAndrew Davis select ACPI_VIDEO if ACPI 26cb20d650SAndrew Davis # On x86 ACPI_VIDEO also needs ACPI_WMI 27cb20d650SAndrew Davis select X86_PLATFORM_DEVICES if ACPI && X86 28cb20d650SAndrew Davis select ACPI_WMI if ACPI && X86 29cb20d650SAndrew Davis help 30cb20d650SAndrew Davis Choose this option if you have a recent AMD Radeon graphics card. 31cb20d650SAndrew Davis 32cb20d650SAndrew Davis If M is selected, the module will be called amdgpu. 33cb20d650SAndrew Davis 34a036db18SKen Wangconfig DRM_AMDGPU_SI 35a036db18SKen Wang bool "Enable amdgpu support for SI parts" 36a036db18SKen Wang depends on DRM_AMDGPU 37a036db18SKen Wang help 38a036db18SKen Wang Choose this option if you want to enable experimental support 39133dc89cSAndré Almeida for SI (Southern Islands) asics. 40a036db18SKen Wang 41ef789173SFelix Kuehling SI is already supported in radeon. Experimental support for SI 42ef789173SFelix Kuehling in amdgpu will be disabled by default and is still provided by 43ef789173SFelix Kuehling radeon. Use module options to override this: 44ef789173SFelix Kuehling 45ef789173SFelix Kuehling radeon.si_support=0 amdgpu.si_support=1 46ef789173SFelix Kuehling 47d38ceaf9SAlex Deucherconfig DRM_AMDGPU_CIK 48d38ceaf9SAlex Deucher bool "Enable amdgpu support for CIK parts" 49d38ceaf9SAlex Deucher depends on DRM_AMDGPU 50d38ceaf9SAlex Deucher help 51133dc89cSAndré Almeida Choose this option if you want to enable support for CIK (Sea 52133dc89cSAndré Almeida Islands) asics. 53d38ceaf9SAlex Deucher 542b059658SMichel Dänzer CIK is already supported in radeon. Support for CIK in amdgpu 552b059658SMichel Dänzer will be disabled by default and is still provided by radeon. 562b059658SMichel Dänzer Use module options to override this: 57ef789173SFelix Kuehling 582b059658SMichel Dänzer radeon.cik_support=0 amdgpu.cik_support=1 59d38ceaf9SAlex Deucher 60d38ceaf9SAlex Deucherconfig DRM_AMDGPU_USERPTR 61d38ceaf9SAlex Deucher bool "Always enable userptr write support" 62d38ceaf9SAlex Deucher depends on DRM_AMDGPU 639c240a7bSChristoph Hellwig depends on MMU 649c240a7bSChristoph Hellwig select HMM_MIRROR 659c240a7bSChristoph Hellwig select MMU_NOTIFIER 66d38ceaf9SAlex Deucher help 672c5a51f5SPhilip Yang This option selects CONFIG_HMM and CONFIG_HMM_MIRROR if it 682c5a51f5SPhilip Yang isn't already selected to enabled full userptr support. 69a1d29476SChristian König 70fdba11f4SAlex Deuchersource "drivers/gpu/drm/amd/acp/Kconfig" 714562236bSHarry Wentlandsource "drivers/gpu/drm/amd/display/Kconfig" 7204d5e276SAmber Linsource "drivers/gpu/drm/amd/amdkfd/Kconfig" 73