diff --git a/patches/0004-amddrm-fix.patch b/patches/0004-amddrm-fix.patch new file mode 100644 index 0000000..e616032 --- /dev/null +++ b/patches/0004-amddrm-fix.patch @@ -0,0 +1,21 @@ +Signed-off-by: Melissa Wen +--- + 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 + diff --git a/patches/series b/patches/series index 6fc82b3..4a790f7 100644 --- a/patches/series +++ b/patches/series @@ -1,3 +1,4 @@ 0001-cachyos-base-all.patch 0002-sched-ext.patch -0003-bore-cachy-ext.patch \ No newline at end of file +0003-bore-cachy-ext.patch +0004-amddrm-fix.patch \ No newline at end of file diff --git a/scripts/build.sh b/scripts/build.sh index e0a4474..76b9a93 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -2,4 +2,4 @@ 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