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