]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/amd/display: Add null pointer check to is_dig_enabled func
authorMichael Strauss <michael.strauss@amd.com>
Wed, 13 Jan 2021 21:33:15 +0000 (16:33 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Feb 2021 17:08:43 +0000 (12:08 -0500)
commit7e60e389053e59c2efc4a9a0f2da3b2c528a0d19
treed6d7b812bcae101a687369e1ed1dbdff9c241cb1
parent91501d0affc2e34598e6514990614ed741de567b
drm/amd/display: Add null pointer check to is_dig_enabled func

[WHY]
Safeguarding as pointer may be null in diagnostic environment

Signed-off-by: Michael Strauss <michael.strauss@amd.com>
Reviewed-by: Sung Lee <Sung.Lee@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/vg_clk_mgr.c