drm/amd/display: prevent null pointer access
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Thu, 15 Oct 2020 18:49:56 +0000 (14:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Oct 2020 17:34:32 +0000 (13:34 -0400)
commitcadfd67c27e2a24e25cf59c9db5f04c5a381bac4
tree688096d16bd74e523344432bbd00d8406bf50dd0
parent13b5ca42ca9c9647f26c4aa8c4ab78ee5de35162
drm/amd/display: prevent null pointer access

Prevent null pointer access when checking odm tree.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: <stable@vger.kernel.org>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c