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_kbase_caps.h |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/kernel/drivers/gpu/arm/bifrost/mali_kbase_caps.h b/kernel/drivers/gpu/arm/bifrost/mali_kbase_caps.h
index c232e21..6aa31f3 100644
--- a/kernel/drivers/gpu/arm/bifrost/mali_kbase_caps.h
+++ b/kernel/drivers/gpu/arm/bifrost/mali_kbase_caps.h
@@ -1,7 +1,7 @@
 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 /*
  *
- * (C) COPYRIGHT 2020-2021 ARM Limited. All rights reserved.
+ * (C) COPYRIGHT 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
@@ -28,15 +28,24 @@
 
 #include <linux/types.h>
 
-typedef enum mali_kbase_cap {
+/**
+ * enum mali_kbase_cap - Enumeration for kbase capability
+ *
+ * @MALI_KBASE_CAP_SYSTEM_MONITOR: System Monitor
+ * @MALI_KBASE_CAP_JIT_PRESSURE_LIMIT: JIT Pressure limit
+ * @MALI_KBASE_CAP_MEM_GROW_ON_GPF: Memory grow on page fault
+ * @MALI_KBASE_CAP_MEM_PROTECTED: Protected memory
+ * @MALI_KBASE_NUM_CAPS: Delimiter
+ */
+enum mali_kbase_cap {
 	MALI_KBASE_CAP_SYSTEM_MONITOR = 0,
 	MALI_KBASE_CAP_JIT_PRESSURE_LIMIT,
 	MALI_KBASE_CAP_MEM_GROW_ON_GPF,
 	MALI_KBASE_CAP_MEM_PROTECTED,
 	MALI_KBASE_NUM_CAPS
-} mali_kbase_cap;
+};
 
-extern bool mali_kbase_supports_cap(unsigned long api_version, mali_kbase_cap cap);
+extern bool mali_kbase_supports_cap(unsigned long api_version, enum mali_kbase_cap cap);
 
 static inline bool mali_kbase_supports_system_monitor(unsigned long api_version)
 {

--
Gitblit v1.6.2