From 7326cd883cd79a316538ed3586ad1a5d52f1bd7f Mon Sep 17 00:00:00 2001 From: MoetaYuko Date: Sun, 14 Apr 2024 23:30:21 +0800 Subject: [PATCH] drm/i915: fix build for 6.5.13-4-pve and newer --- backport-include/backport/backport_macro.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backport-include/backport/backport_macro.h b/backport-include/backport/backport_macro.h index 492cda38..f90cc1ae 100644 --- a/backport-include/backport/backport_macro.h +++ b/backport-include/backport/backport_macro.h @@ -1284,7 +1284,8 @@ */ #define BPM_DGLUT_24BIT_MTL_NOT_SUPPORTED -#if LINUX_VERSION_IS_LESS(6,8,0) +#if LINUX_VERSION_IS_LESS(6,8,0) && \ + !(LINUX_VERSION_IN_RANGE(6,5,13, 6,5,99) && PVE_RELEASE_VERSION_IS_GEQ(4)) /* * 7707dd6022593f * drm/dp_mst: Fix fractional DSC bpp handling