amd drm fix

This commit is contained in:
ferreo 2024-11-08 18:47:43 +00:00
parent aa3feca8b2
commit 62b0133471
3 changed files with 24 additions and 2 deletions

View File

@ -0,0 +1,21 @@
Signed-off-by: Melissa Wen <mwen@igalia.com>
---
drivers/gpu/drm/amd/display/dc/dc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
index 3992ad73165b..08b00b263533 100644
--- a/drivers/gpu/drm/amd/display/dc/dc.h
+++ b/drivers/gpu/drm/amd/display/dc/dc.h
@@ -57,7 +57,7 @@ struct dmub_notification;
#define DC_VER "3.2.301"
-#define MAX_SURFACES 3
+#define MAX_SURFACES 6
#define MAX_PLANES 6
#define MAX_STREAMS 6
#define MIN_VIEWPORT_SIZE 12
--
2.45.2

View File

@ -1,3 +1,4 @@
0001-cachyos-base-all.patch 0001-cachyos-base-all.patch
0002-sched-ext.patch 0002-sched-ext.patch
0003-bore-cachy-ext.patch 0003-bore-cachy-ext.patch
0004-amddrm-fix.patch

View File

@ -2,4 +2,4 @@
echo "Pika Kernel - Building" echo "Pika Kernel - Building"
make -j`nproc` bindeb-pkg LOCALVERSION=-pikaos KDEB_PKGVERSION=$(make kernelversion)-101pika4 make -j`nproc` bindeb-pkg LOCALVERSION=-pikaos KDEB_PKGVERSION=$(make kernelversion)-101pika5