On Tue, Feb 18, 2025 at 03:16:59PM +0800, Xiangyu Chen wrote: > From: Alex Hung <alex.hung@xxxxxxx> > > [ upstream commit 5559598742fb4538e4c51c48ef70563c49c2af23 ] > > [WHAT & HOW] > "dcn20_validate_apply_pipe_split_flags" dereferences merge, and thus it > cannot be a null pointer. Let's pass a valid pointer to avoid null > dereference. > > This fixes 2 FORWARD_NULL issues reported by Coverity. > > Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@xxxxxxx> > Signed-off-by: Jerry Zuo <jerry.zuo@xxxxxxx> > Signed-off-by: Alex Hung <alex.hung@xxxxxxx> > Tested-by: Daniel Wheeler <daniel.wheeler@xxxxxxx> > Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx> > [dcn20 and dcn21 were moved from drivers/gpu/drm/amd/display/dc to > drivers/gpu/drm/amd/display/dc/resource since > 8b8eed05a1c6 ("drm/amd/display: Refactor resource into component directory"). > The path is changed accordingly to apply the patch on 6.6.y.] > Signed-off-by: Xiangyu Chen <xiangyu.chen@xxxxxxxxxxxxx> > Signed-off-by: He Zhe <zhe.he@xxxxxxxxxxxxx> > --- > Verified the build test only due to we don't have dcn20/dcn21 device. Again, as you don't have this device, why do you want it backported? thanks, greg k-h