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/dw_hdmi-rockchip.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/kernel/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c b/kernel/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
index 450b162..3253cf2 100644
--- a/kernel/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
+++ b/kernel/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
@@ -856,7 +856,7 @@
struct drm_crtc_state *crtc_state,
unsigned int tmdsclk)
{
- struct drm_display_mode mode;
+ struct drm_display_mode mode = {};
int max_lanes, max_rate_per_lane;
int max_dsc_lanes, max_dsc_rate_per_lane;
unsigned long max_frl_rate;
@@ -1982,7 +1982,7 @@
unsigned int *eotf)
{
struct drm_display_info *info = &conn_state->connector->display_info;
- struct drm_display_mode mode;
+ struct drm_display_mode mode = {};
struct hdr_output_metadata *hdr_metadata;
u32 vic;
unsigned long tmdsclock, pixclock;
@@ -2237,7 +2237,7 @@
struct rockchip_crtc_state *s = to_rockchip_crtc_state(crtc_state);
struct rockchip_hdmi *hdmi = to_rockchip_hdmi(encoder);
unsigned int colorformat, bus_width, tmdsclk;
- struct drm_display_mode mode;
+ struct drm_display_mode mode = {};
unsigned int output_mode;
unsigned long bus_format;
int color_depth;
--
Gitblit v1.6.2