drm/amd/display: Check null pointers before using dc->clk_mgr
authorjsg <jsg@openbsd.org>
Fri, 11 Oct 2024 02:13:25 +0000 (02:13 +0000)
committerjsg <jsg@openbsd.org>
Fri, 11 Oct 2024 02:13:25 +0000 (02:13 +0000)
commit5c3d34bfcf8de972f5e7443c4134e9e071d16722
treecfc7b50d181095c4a7fd4004d36419640391e3b0
parent8832fa422e8138ffda3951311ccb0931f6412f33
drm/amd/display: Check null pointers before using dc->clk_mgr

From Alex Hung
9641bc4adf8446034e490ed543ae7e9833cfbdf5 in linux-6.6.y/6.6.55
95d9e0803e51d5a24276b7643b244c7477daf463 in mainline linux
sys/dev/pci/drm/amd/display/dc/core/amdgpu_dc.c