kernel_samsung_a53x/drivers/gpu/drm/amd/display/dc/dcn20
Alex Hung 72c7361f02 drm/amd/display: Skip wbscl_set_scaler_filter if filter is null
[ Upstream commit c4d31653c03b90e51515b1380115d1aedad925dd ]

Callers can pass null in filter (i.e. from returned from the function
wbscl_get_filter_coeffs_16p) and a null check is added to ensure that is
not the case.

This fixes 4 NULL_RETURNS issues reported by Coverity.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:20:58 +01:00
..
dcn20_dccg.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_dccg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_dpp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_dpp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_dpp_cm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_dsc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_dsc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_dwb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_dwb.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_dwb_scl.c drm/amd/display: Skip wbscl_set_scaler_filter if filter is null 2024-11-23 23:20:58 +01:00
dcn20_hubbub.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_hubbub.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_hubp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_hubp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_hwseq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_hwseq.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_init.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_init.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_link_encoder.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_link_encoder.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_mmhubbub.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_mmhubbub.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_mpc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_mpc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_opp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_opp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_optc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_optc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_resource.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_resource.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_stream_encoder.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_stream_encoder.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_vmid.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20_vmid.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00