From: Sasha Levin <sashal@kernel.org>
To: linux-kernel@vger.kernel.org, stable@vger.kernel.org
Cc: "Xi (Alex) Liu" <xi.liu@amd.com>,
Daniel Miess <daniel.miess@amd.com>,
Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>,
Roman Li <roman.li@amd.com>,
Alex Deucher <alexander.deucher@amd.com>,
Sasha Levin <sashal@kernel.org>,
harry.wentland@amd.com, sunpeng.li@amd.com,
Rodrigo.Siqueira@amd.com, christian.koenig@amd.com,
Xinhui.Pan@amd.com, airlied@gmail.com, daniel@ffwll.ch,
charlene.liu@amd.com, sungjoon.kim@amd.com,
chiahsuan.chung@amd.com, jun.lei@amd.com, danny.wang@amd.com,
alvin.lee2@amd.com, allen.pan@amd.com,
amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Subject: [PATCH AUTOSEL 6.8 06/20] drm/amd/display: add root clock control function pointer to fix display corruption
Date: Mon, 27 May 2024 11:52:49 -0400 [thread overview]
Message-ID: <20240527155349.3864778-6-sashal@kernel.org> (raw)
In-Reply-To: <20240527155349.3864778-1-sashal@kernel.org>
From: "Xi (Alex) Liu" <xi.liu@amd.com>
[ Upstream commit de2d1105a3757742b45b0d8270b3c8734cd6b6f8 ]
[Why and how]
External display has corruption because no root clock control function. Add the function pointer to fix the issue.
Reviewed-by: Daniel Miess <daniel.miess@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Roman Li <roman.li@amd.com>
Signed-off-by: Xi (Alex) Liu <xi.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
drivers/gpu/drm/amd/display/dc/hwss/dcn351/dcn351_init.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/display/dc/hwss/dcn351/dcn351_init.c b/drivers/gpu/drm/amd/display/dc/hwss/dcn351/dcn351_init.c
index 143d3fc0221cf..069e48573f4a9 100644
--- a/drivers/gpu/drm/amd/display/dc/hwss/dcn351/dcn351_init.c
+++ b/drivers/gpu/drm/amd/display/dc/hwss/dcn351/dcn351_init.c
@@ -147,6 +147,7 @@ static const struct hwseq_private_funcs dcn351_private_funcs = {
//.hubp_pg_control = dcn35_hubp_pg_control,
.enable_power_gating_plane = dcn35_enable_power_gating_plane,
.dpp_root_clock_control = dcn35_dpp_root_clock_control,
+ .dpstream_root_clock_control = dcn35_dpstream_root_clock_control,
.program_all_writeback_pipes_in_tree = dcn30_program_all_writeback_pipes_in_tree,
.update_odm = dcn35_update_odm,
.set_hdr_multiplier = dcn10_set_hdr_multiplier,
--
2.43.0
next prev parent reply other threads:[~2024-05-27 15:54 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-27 15:52 [PATCH AUTOSEL 6.8 01/20] drm/amd/display: Exit idle optimizations before HDCP execution Sasha Levin
2024-05-27 15:52 ` [PATCH AUTOSEL 6.8 02/20] drm/amd/display: Workaround register access in idle race with cursor Sasha Levin
2024-05-27 15:52 ` [PATCH AUTOSEL 6.8 03/20] ima: Fix use-after-free on a dentry's dname.name Sasha Levin
2024-05-27 15:52 ` [PATCH AUTOSEL 6.8 04/20] platform/x86: toshiba_acpi: Add quirk for buttons on Z830 Sasha Levin
2024-05-27 15:52 ` [PATCH AUTOSEL 6.8 05/20] cgroup/cpuset: Make cpuset hotplug processing synchronous Sasha Levin
2024-05-27 15:52 ` Sasha Levin [this message]
2024-05-27 15:52 ` [PATCH AUTOSEL 6.8 07/20] ASoC: Intel: sof_sdw: add JD2 quirk for HP Omen 14 Sasha Levin
2024-05-27 15:52 ` [PATCH AUTOSEL 6.8 08/20] ASoC: Intel: sof_sdw: add quirk for Dell SKU 0C0F Sasha Levin
2024-05-27 15:52 ` [PATCH AUTOSEL 6.8 09/20] drm/lima: add mask irq callback to gp and pp Sasha Levin
2024-05-27 15:52 ` [PATCH AUTOSEL 6.8 10/20] drm/lima: mask irqs in timeout path before hard reset Sasha Levin
2024-05-27 15:52 ` [PATCH AUTOSEL 6.8 11/20] platform/x86: x86-android-tablets: Unregister devices in reverse order Sasha Levin
2024-05-27 15:52 ` [PATCH AUTOSEL 6.8 12/20] platform/x86: x86-android-tablets: Add Lenovo Yoga Tablet 2 Pro 1380F/L data Sasha Levin
2024-05-27 15:52 ` [PATCH AUTOSEL 6.8 13/20] ALSA: hda/realtek: Add quirks for Lenovo 13X Sasha Levin
2024-05-27 15:52 ` [PATCH AUTOSEL 6.8 14/20] media: lgdt3306a: Add a check against null-pointer-def Sasha Levin
2024-05-27 15:52 ` [PATCH AUTOSEL 6.8 15/20] powerpc: make fadump resilient with memory add/remove events Sasha Levin
2024-05-27 15:52 ` [PATCH AUTOSEL 6.8 16/20] powerpc/pseries: Enforce hcall result buffer validity and size Sasha Levin
2024-05-27 15:53 ` [PATCH AUTOSEL 6.8 17/20] media: intel/ipu6: Fix build with !ACPI Sasha Levin
2024-05-27 15:53 ` [PATCH AUTOSEL 6.8 18/20] media: mtk-vcodec: potential null pointer deference in SCP Sasha Levin
2024-05-27 15:53 ` [PATCH AUTOSEL 6.8 19/20] powerpc/io: Avoid clang null pointer arithmetic warnings Sasha Levin
2024-05-27 15:53 ` [PATCH AUTOSEL 6.8 20/20] platform/x86: p2sb: Don't init until unassigned resources have been assigned Sasha Levin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240527155349.3864778-6-sashal@kernel.org \
--to=sashal@kernel.org \
--cc=Rodrigo.Siqueira@amd.com \
--cc=Xinhui.Pan@amd.com \
--cc=airlied@gmail.com \
--cc=alexander.deucher@amd.com \
--cc=allen.pan@amd.com \
--cc=alvin.lee2@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=charlene.liu@amd.com \
--cc=chiahsuan.chung@amd.com \
--cc=christian.koenig@amd.com \
--cc=daniel.miess@amd.com \
--cc=daniel@ffwll.ch \
--cc=danny.wang@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=harry.wentland@amd.com \
--cc=jun.lei@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nicholas.kazlauskas@amd.com \
--cc=roman.li@amd.com \
--cc=stable@vger.kernel.org \
--cc=sungjoon.kim@amd.com \
--cc=sunpeng.li@amd.com \
--cc=xi.liu@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox