Skip to content

Instantly share code, notes, and snippets.

@James-E-A
Last active August 11, 2024 02:36
Show Gist options
  • Save James-E-A/d17b8fc9939814a194a8fb51b6ff1dfd to your computer and use it in GitHub Desktop.
Save James-E-A/d17b8fc9939814a194a8fb51b6ff1dfd to your computer and use it in GitHub Desktop.
NixOS custom kernel with AMDGPU SI & CIK support
# Custom Kernel to use AMDGPU driver with Radeon HD 7790, HD 7750-7970, HD 7790, R7 240, R7 250, R7 260, R9 270, R9 280
# https://www.x.org/wiki/RadeonFeature/#:~:text=Southern%20Islands&text=Sea%20Islands
# https://wiki.archlinux.org/title/AMDGPU#:~:text=Compile%20kernel%20which%20supports%20amdgpu%20driver
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/amd/amdgpu/Kconfig?h=v6.10&id=0c3836482481200ead7b416ca80c68a29cfdaabd#n37
boot.kernelPatches = [ {
name = "amdgpu-si-cik";
patch = null;
extraConfig = ''
DRM_AMDGPU_SI y
DRM_AMDGPU_CIK y
'';
} ];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment