mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/amd/display: Fix Null Pointer Dereference Issues
@ 2024-11-05 14:01 Zicheng Qu
  2024-11-05 14:01 ` [PATCH 1/2] drm/amd/display: Fix null check for pipe_ctx->plane_state in dcn20_program_pipe Zicheng Qu
  2024-11-05 14:01 ` [PATCH 2/2] drm/amd/display: Fix null check for pipe_ctx->plane_state in hwss_setup_dpp Zicheng Qu
  0 siblings, 2 replies; 6+ messages in thread
From: Zicheng Qu @ 2024-11-05 14:01 UTC (permalink / raw)
  To: harry.wentland, sunpeng.li, Rodrigo.Siqueira, alexander.deucher,
	christian.koenig, Xinhui.Pan, airlied, simona, Dillon.Varone,
	Alvin.Lee2, nicholas.kazlauskas, alex.hung, aurabindo.pillai,
	relja.vojvodic, chiahsuan.chung, wenjing.liu, george.shen, mwen,
	yi-lchen, martin.leung, srinivasan.shanmugam, stylon.wang,
	jun.lei, amd-gfx, dri-devel, linux-kernel
  Cc: tanghui20, zhangqiao22, judy.chenhui, quzicheng

Hi all,

I am submitting two patches to fix null pointer dereference issues in
the AMD display driver.

1. Patch 1/2 (Fixes: 8e4ed3cf1642): Add null checks in
dcn20_program_pipe() to prevent potential crashes when accessing
plane_state.

2. Patch 2/2 (Fixes: 0baae6246307): Ensures pipe_ctx->plane_state is
checked in hwss_setup_dpp() to improve function stability.

Thanks for reviewing!

Zicheng Qu (2):
  drm/amd/display: Fix null check for pipe_ctx->plane_state in
    dcn20_program_pipe
  drm/amd/display: Fix null check for pipe_ctx->plane_state in
    hwss_setup_dpp

 drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c   | 3 +++
 drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c | 6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-11-18 17:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-05 14:01 [PATCH 0/2] drm/amd/display: Fix Null Pointer Dereference Issues Zicheng Qu
2024-11-05 14:01 ` [PATCH 1/2] drm/amd/display: Fix null check for pipe_ctx->plane_state in dcn20_program_pipe Zicheng Qu
2024-11-14  8:20   ` Chung, ChiaHsuan (Tom)
2024-11-05 14:01 ` [PATCH 2/2] drm/amd/display: Fix null check for pipe_ctx->plane_state in hwss_setup_dpp Zicheng Qu
2024-11-14  8:16   ` Chung, ChiaHsuan (Tom)
2024-11-18 17:12     ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®