Kconfig

CONFIG_DRM_AMDGPU AMD GPU

  • Off
  • Module
  • Built in

Choose this option if you have a recent AMD Radeon graphics card.

If M is selected, the module will be called amdgpu.

If DRM_AMDGPU

CONFIG_DRM_AMDGPU_SI Enable amdgpu support for SI parts

On

Choose this option if you want to enable support for SI (Southern Islands) asics.

SI (Southern Islands) are first generation GCN GPUs, supported by both drivers: radeon (old) and amdgpu (new). By default, SI dedicated GPUs are supported by amdgpu.

Use module options to override this: To use radeon for SI, radeon.si_support=1 amdgpu.si_support=0

CONFIG_DRM_AMDGPU_CIK Enable amdgpu support for CIK parts

On

Choose this option if you want to enable support for CIK (Sea Islands) asics.

CIK (Sea Islands) are second generation GCN GPUs, supported by both drivers: radeon (old) and amdgpu (new). By default, CIK dedicated GPUs are supported by amdgpu CIK APUs are supported by radeon

Use module options to override this: To use amdgpu for CIK, radeon.cik_support=0 amdgpu.cik_support=1 To use radeon for CIK, radeon.cik_support=1 amdgpu.cik_support=0

CONFIG_GCOV_PROFILE_AMDGPU Enable GCOV profiling on amdgpu

On

Enable GCOV profiling on the amdgpu driver for checking which functions/lines are executed during testing. This adds compiler instrumentation flags to all amdgpu source files, producing .gcda/.gcno coverage data accessible via debugfs.

This increases the amdgpu module size by ~50% and adds ~2-5% runtime overhead on GPU submission paths.

If unsure, say N.

Includedrivers/gpu/drm/amd/acp/Kconfig Open file
Includedrivers/gpu/drm/amd/display/Kconfig Open file
Includedrivers/gpu/drm/amd/amdkfd/Kconfig Open file