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

diff --git a/kernel/drivers/gpu/drm/rockchip/rk3066_hdmi.h b/kernel/drivers/gpu/drm/rockchip/rk3066_hdmi.h
index 2bbe0a5..39a31c6 100644
--- a/kernel/drivers/gpu/drm/rockchip/rk3066_hdmi.h
+++ b/kernel/drivers/gpu/drm/rockchip/rk3066_hdmi.h
@@ -1,20 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (C) Fuzhou Rockchip Electronics Co.Ltd
  *    Zheng Yang <zhengyang@rock-chips.com>
- *
- * This software is licensed under the terms of the GNU General Public
- * License version 2, as published by the Free Software Foundation, and
- * may be copied, distributed, and modified under those terms.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #ifndef __RK3066_HDMI_H__
 #define __RK3066_HDMI_H__
 
+#define GRF_SOC_CON0				0x150
+#define HDMI_VIDEO_SEL				BIT(14)
+
 #define DDC_SEGMENT_ADDR			0x30
 #define HDMI_SCL_RATE				(50 * 1000)
 #define HDMI_MAXIMUM_INFO_FRAME_SIZE		0x11

--
Gitblit v1.6.2