Last active
August 11, 2024 02:36
-
-
Save James-E-A/d17b8fc9939814a194a8fb51b6ff1dfd to your computer and use it in GitHub Desktop.
NixOS custom kernel with AMDGPU SI & CIK support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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