]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd: add some extra checks that is_dig_enabled is defined
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 10 Dec 2021 15:45:23 +0000 (09:45 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Dec 2021 21:33:16 +0000 (16:33 -0500)
commit0c52c58eb15899fe4a7e501b2af251c16e824526
treebbd0a5afadaa240337493e63c68669358d0eb95b
parent3505741d91939425283974f0bb9be55c6e40e13c
drm/amd: add some extra checks that is_dig_enabled is defined

There are a few places that this isn't checked that could potentially
be a NULL pointer access.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c