From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/gpu/drm/rockchip/rk618/rk618_dither.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/kernel/drivers/gpu/drm/rockchip/rk618/rk618_dither.c b/kernel/drivers/gpu/drm/rockchip/rk618/rk618_dither.c
index 60938bf..a9bc0c3 100644
--- a/kernel/drivers/gpu/drm/rockchip/rk618/rk618_dither.c
+++ b/kernel/drivers/gpu/drm/rockchip/rk618/rk618_dither.c
@@ -5,6 +5,7 @@
* Author: Wyon Bi <bivvy.bi@rock-chips.com>
*/
+#include <linux/module.h>
#include "rk618_dither.h"
#define RK618_FRC_REG 0x0054
@@ -29,7 +30,6 @@
val = FRC_OUT_MODE_RGB666 | FRC_DITHER_DISABLE;
break;
case MEDIA_BUS_FMT_RGB666_1X24_CPADHI:
- case MEDIA_BUS_FMT_RGB666_1X7X3_JEIDA:
val = FRC_OUT_MODE_RGB888 | FRC_DITHER_ENABLE;
break;
case MEDIA_BUS_FMT_RGB888_1X24:
@@ -49,3 +49,5 @@
regmap_write(rk618->regmap, RK618_FRC_REG, FRC_DCLK_INV);
}
EXPORT_SYMBOL_GPL(rk618_frc_dclk_invert);
+
+MODULE_LICENSE("GPL");
--
Gitblit v1.6.2