From f70575805708cabdedea7498aaa3f710fde4d920 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 31 Jan 2024 03:29:01 +0000
Subject: [PATCH] add lvds1024*800

---
 kernel/drivers/gpu/arm/bifrost/mali_malisw.h |   21 +++++++++++++++------
 1 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/kernel/drivers/gpu/arm/bifrost/mali_malisw.h b/kernel/drivers/gpu/arm/bifrost/mali_malisw.h
index c0649f2..d9db189 100644
--- a/kernel/drivers/gpu/arm/bifrost/mali_malisw.h
+++ b/kernel/drivers/gpu/arm/bifrost/mali_malisw.h
@@ -1,7 +1,7 @@
 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 /*
  *
- * (C) COPYRIGHT 2014-2015, 2018, 2020-2021 ARM Limited. All rights reserved.
+ * (C) COPYRIGHT 2014-2015, 2018, 2020-2022 ARM Limited. All rights reserved.
  *
  * This program is free software and is provided to you under the terms of the
  * GNU General Public License version 2 as published by the Free Software
@@ -19,7 +19,7 @@
  *
  */
 
-/**
+/*
  * Kernel-wide include for common macros and types.
  */
 
@@ -53,7 +53,8 @@
 #define MAX(x, y)	((x) < (y) ? (y) : (x))
 
 /**
- * Function-like macro for suppressing unused variable warnings.
+ * CSTD_UNUSED - Function-like macro for suppressing unused variable warnings.
+ *
  * @x: unused variable
  *
  * Where possible such variables should be removed; this macro is present for
@@ -62,7 +63,7 @@
 #define CSTD_UNUSED(x)	((void)(x))
 
 /**
- * Function-like macro for use where "no behavior" is desired.
+ * CSTD_NOP - Function-like macro for use where "no behavior" is desired.
  * @...: no-op
  *
  * This is useful when compile time macros turn a function-like macro in to a
@@ -71,7 +72,7 @@
 #define CSTD_NOP(...)	((void)#__VA_ARGS__)
 
 /**
- * Function-like macro for stringizing a single level macro.
+ * CSTD_STR1 - Function-like macro for stringizing a single level macro.
  * @x: macro's value
  *
  * @code
@@ -83,7 +84,7 @@
 #define CSTD_STR1(x)	#x
 
 /**
- * Function-like macro for stringizing a macro's value.
+ * CSTD_STR2 - Function-like macro for stringizing a macro's value.
  * @x: macro's value
  *
  * This should not be used if the macro is defined in a way which may have no
@@ -96,4 +97,12 @@
  */
 #define CSTD_STR2(x)	CSTD_STR1(x)
 
+ #ifndef fallthrough
+ #define fallthrough    __fallthrough
+ #endif /* fallthrough */
+
+#ifndef __fallthrough
+#define __fallthrough  __attribute__((fallthrough))
+#endif /* __fallthrough */
+
 #endif /* _MALISW_H_ */

--
Gitblit v1.6.2