Files
pmaports-rtwo/device/archived/linux-samsung-kiran/0002-sprd-drm.patch
T
Luca Weiss 5ce8ad66ce device/downstream/*: move broken kernels plus devices to archived
All these kernels do not compile anymore, move them and the associated
device and firmware packages to archived.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6700>
2025-08-17 12:29:01 +00:00

29 lines
862 B
Diff

From 1448e53fcaa4c6d787b2dcecbdc1f3103bfe77f4 Mon Sep 17 00:00:00 2001
From: Shinjo Park <peremen@gmail.com>
Date: Tue, 28 Jun 2022 23:25:49 +0200
Subject: [PATCH 2/4] samsung-kiran: Fix building when CONFIG_DRM_SPRD is false
---
drivers/video/sprdfb/sprdfb_dispc.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/video/sprdfb/sprdfb_dispc.c b/drivers/video/sprdfb/sprdfb_dispc.c
index a29d6f9e..b3fbea20 100644
--- a/drivers/video/sprdfb/sprdfb_dispc.c
+++ b/drivers/video/sprdfb/sprdfb_dispc.c
@@ -362,7 +362,11 @@ extern void dsi_irq_trick(void);
#endif
/* FIXME:!! when we not clear the register in dispc, phone doesn't bootup */
+#ifdef CONFIG_DRM_SPRD
extern u32 dispc_int_status;
+#else
+u32 dispc_int_status;
+#endif
//static uint32_t underflow_ever_happened = 0;
static irqreturn_t dispc_isr(int irq, void *data)
{
--
2.34.1