linux/drivers/gpu/drm/amd/display/dc/dcn201
José Expósito f28cad86ad drm/amd/display: fix dereference before NULL check
The "plane_state" pointer was access before checking if it was NULL.

Avoid a possible NULL pointer dereference by accessing the plane
address after the check.

Addresses-Coverity-ID: 1493892 ("Dereference before null check")
Fixes: 3f68c01be9 ("drm/amd/display: add cyan_skillfish display support")
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-12-30 08:54:45 -05:00
..
dcn201_dccg.c drm/amd/display: fix function scopes 2021-12-13 16:34:26 -05:00
dcn201_dccg.h
dcn201_dpp.c
dcn201_dpp.h
dcn201_hubbub.c
dcn201_hubbub.h
dcn201_hubp.c drm/amd/display: fix function scopes 2021-12-13 16:34:26 -05:00
dcn201_hubp.h
dcn201_hwseq.c drm/amd/display: fix dereference before NULL check 2021-12-30 08:54:45 -05:00
dcn201_hwseq.h
dcn201_init.c
dcn201_init.h
dcn201_link_encoder.c drm/amd/display: fix function scopes 2021-12-13 16:34:26 -05:00
dcn201_link_encoder.h
dcn201_mpc.c
dcn201_mpc.h
dcn201_opp.c
dcn201_opp.h
dcn201_optc.c
dcn201_optc.h
dcn201_resource.c drm/amd/display: Changed pipe split policy to allow for multi-display pipe split 2021-12-30 08:54:44 -05:00
dcn201_resource.h
Makefile