summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan K. Boikov <mail@ikboikov.net>2026-07-04 19:32:02 +0200
committerIvan K. Boikov <mail@ikboikov.net>2026-07-26 20:52:52 +0200
commit47fe8dbe9343364e4b1b09a8cd32d12f329e0b0b (patch)
tree646d426862539e1fa403cee42f4d4cccb0434d67
parent8dbef9ddc73e0b32942a9706896938e038c07c44 (diff)
New GPU
-rw-r--r--kernel/kernel/config.d/30-gpu-amd.config17
-rw-r--r--kernel/kernel/config.d/30-gpu-nvidia.config.disabled (renamed from kernel/kernel/config.d/30-gpu-nvidia.config)0
-rw-r--r--portage/portage/make.conf3
-rw-r--r--portage/portage/package.accept_keywords7
4 files changed, 26 insertions, 1 deletions
diff --git a/kernel/kernel/config.d/30-gpu-amd.config b/kernel/kernel/config.d/30-gpu-amd.config
new file mode 100644
index 0000000..1fd5924
--- /dev/null
+++ b/kernel/kernel/config.d/30-gpu-amd.config
@@ -0,0 +1,17 @@
+CONFIG_MEMORY_HOTPLUG=y
+CONFIG_MEMORY_HOTREMOVE=y
+CONFIG_ZONE_DEVICE=y
+CONFIG_DEVICE_PRIVATE=y
+CONFIG_DRM_AMDGPU=m
+CONFIG_DRM_AMD_ACP=y
+CONFIG_DRM_AMD_DC=y
+CONFIG_DRM_AMD_DC_FBC=y
+CONFIG_HSA_AMD=y
+CONFIG_HSA_AMD_SVM=y
+CONFIG_SND_HDA_PREALLOC_SIZE=2048
+
+# not in the docs
+CONFIG_FB=y
+CONFIG_FB_VGA16=y
+CONFIG_FB_VESA=y
+CONFIG_FB_EFI=y
diff --git a/kernel/kernel/config.d/30-gpu-nvidia.config b/kernel/kernel/config.d/30-gpu-nvidia.config.disabled
index ead0c2d..ead0c2d 100644
--- a/kernel/kernel/config.d/30-gpu-nvidia.config
+++ b/kernel/kernel/config.d/30-gpu-nvidia.config.disabled
diff --git a/portage/portage/make.conf b/portage/portage/make.conf
index 30ff1f1..969347e 100644
--- a/portage/portage/make.conf
+++ b/portage/portage/make.conf
@@ -23,7 +23,8 @@ QEMU_SOFTMMU_TARGETS="arm x86_64"
QEMU_USER_TARGETS="x86_64"
INPUT_DEVIDES="libinput keyboard wacom"
-VIDEO_CARDS="nvidia"
+VIDEO_CARDS="amdgpu radeonsi"
+AMDGPU_TARGETS="gfx1200"
USE="dist-kernel
pgo \
diff --git a/portage/portage/package.accept_keywords b/portage/portage/package.accept_keywords
index a73b0bd..f04aed7 100644
--- a/portage/portage/package.accept_keywords
+++ b/portage/portage/package.accept_keywords
@@ -1,5 +1,7 @@
# last check: 2024-11-29
# Gentoo
+sys-kernel/gentoo-kernel ~amd64
+virtual/dist-kernel ~amd64
media-video/droidcam ~amd64
media-sound/spek ~amd64
games-util/joystick ~amd64
@@ -29,6 +31,7 @@ dev-cpp/toomanycooks ~amd64
media-libs/vapoursynth ~amd64
sys-fs/fragview ~amd64
+media-libs/mesa ~amd64
# workaround for https://bugs.gentoo.org/show_bug.cgi?id=973439
dev-python/pygobject ~amd64
@@ -43,6 +46,10 @@ dev-libs/icu ~amd64
dev-lang/rust-bin ~amd64
sec-keys/openpgp-keys-libevent ~amd64
+dev-util/* ~amd64
+dev-libs/* ~amd64
+
+
# laptop stuff
x11-apps/igt-gpu-tools ~amd64