kernel_samsung_a53x/drivers/gpu/drm/amd/display/dc/irq
Alex Hung af33c419c5 drm/amd/display: Check pipe offset before setting vblank
[ Upstream commit 5396a70e8cf462ec5ccf2dc8de103c79de9489e6 ]

pipe_ctx has a size of MAX_PIPES so checking its index before accessing
the array.

This fixes an OVERRUN issue reported by Coverity.

Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Acked-by: Wayne Lin <wayne.lin@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-19 14:19:40 +01:00
..
dce60 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dce80 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dce110 drm/amd/display: Check pipe offset before setting vblank 2024-11-19 14:19:40 +01:00
dce120 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn20 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn21 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn30 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
irq_service.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
irq_service.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00