From 01b56002a5e6ed48191a95173687b3f8a8e52b01 Mon Sep 17 00:00:00 2001 From: wang_qiangrui Date: Tue, 29 Mar 2022 15:52:45 +0800 Subject: [PATCH 1/3] fix unable resume after suspend Signed-off-by: wang_qiangrui --- linux-5.10/rk3568_patch/kernel.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-5.10/rk3568_patch/kernel.patch b/linux-5.10/rk3568_patch/kernel.patch index 92a030f..cb59ef2 100755 --- a/linux-5.10/rk3568_patch/kernel.patch +++ b/linux-5.10/rk3568_patch/kernel.patch @@ -602133,7 +602133,7 @@ index 000000000000..a52b6a9e18a5 + dev_err(drm_dev->dev, "failed to show kernel logo\n"); +} + -+#ifndef MODULE ++#if 0 +static const char *const loader_protect_clocks[] __initconst = { + "hclk_vio", + "hclk_vop", -- Gitee From 94c4e5fba8971af7de7041730e3c37f7dcced574 Mon Sep 17 00:00:00 2001 From: wang_qiangrui Date: Wed, 30 Mar 2022 09:59:33 +0800 Subject: [PATCH 2/3] fix unable resume after suspend Signed-off-by: wang_qiangrui --- linux-5.10/rk3568_patch/kernel.patch | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/linux-5.10/rk3568_patch/kernel.patch b/linux-5.10/rk3568_patch/kernel.patch index cb59ef2..bc40a5f 100755 --- a/linux-5.10/rk3568_patch/kernel.patch +++ b/linux-5.10/rk3568_patch/kernel.patch @@ -602133,7 +602133,7 @@ index 000000000000..a52b6a9e18a5 + dev_err(drm_dev->dev, "failed to show kernel logo\n"); +} + -+#if 0 ++#ifndef MODULE +static const char *const loader_protect_clocks[] __initconst = { + "hclk_vio", + "hclk_vop", @@ -602148,7 +602148,6 @@ index 000000000000..a52b6a9e18a5 + "aclk_vo_pre", + "aclk_vio_pre", + "dclk_vop", -+ "dclk_vop0", + "dclk_vop1", + "dclk_vopb", + "dclk_vopl", -- Gitee From cb5a258537d44ddfa8bb912c87dc166cca912998 Mon Sep 17 00:00:00 2001 From: wang_qiangrui Date: Wed, 30 Mar 2022 10:19:26 +0800 Subject: [PATCH 3/3] fix unable resume after suspend Signed-off-by: wang_qiangrui --- linux-5.10/rk3568_patch/kernel.patch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/linux-5.10/rk3568_patch/kernel.patch b/linux-5.10/rk3568_patch/kernel.patch index bc40a5f..f4d8f36 100755 --- a/linux-5.10/rk3568_patch/kernel.patch +++ b/linux-5.10/rk3568_patch/kernel.patch @@ -601126,7 +601126,7 @@ new file mode 100755 index 000000000000..a52b6a9e18a5 --- /dev/null +++ b/drivers/gpu/drm/rockchip/rockchip_drm_logo.c -@@ -0,0 +1,1070 @@ +@@ -0,0 +1,1071 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2021 Rockchip Electronics Co., Ltd. @@ -602148,7 +602148,9 @@ index 000000000000..a52b6a9e18a5 + "aclk_vo_pre", + "aclk_vio_pre", + "dclk_vop", ++ "dclk_vop0", + "dclk_vop1", ++ "dclk_vop2", + "dclk_vopb", + "dclk_vopl", +}; -- Gitee