]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amd/display: Add pointer check before function call
authorSung Joon Kim <sungkim@amd.com>
Wed, 9 Aug 2023 20:39:53 +0000 (16:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Sep 2023 20:24:08 +0000 (16:24 -0400)
commitd44443305599d2e92b6696a8ca42e0dbaab8cb4d
treed69bd2a23ed534606d0ac15d765e3e29cc17f192
parent4b4f585369f627a5b65540112539453d94dfa40e
drm/amd/display: Add pointer check before function call

Call to immediate_disable_crtc was not checked before calling, exposing
a potential null pointer hang.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Sung Joon Kim <sungkim@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c