1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/dcn303
Aurabindo Pillai 89b008222c drm/amd/display: Check correct bounds for stream encoder instances for DCN303
[Why & How]
eng_id for DCN303 cannot be more than 1, since we have only two
instances of stream encoders.

Check the correct boundary condition for engine ID for DCN303 prevent
the potential out of bounds access.

Fixes: cd6d421e3d ("drm/amd/display: Initial DC support for Beige Goby")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable@vger.kernel.org
Reviewed-by: Chris Park <Chris.Park@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-08-10 15:30:06 -04:00
..
dcn303_dccg.h drm/amd/display: Add reg defs for DCN303 2021-12-30 08:54:44 -05:00
dcn303_hwseq.c drm/amd/display: add dummy PG callback for beige goby 2021-06-11 16:04:04 -04:00
dcn303_hwseq.h drm/amd/display: add dummy PG callback for beige goby 2021-06-11 16:04:04 -04:00
dcn303_init.c drm/amd: append missing includes 2021-12-13 16:32:34 -05:00
dcn303_init.h drm/amd/display: Edit license info for beige goby DC files 2021-05-19 22:42:04 -04:00
dcn303_resource.c drm/amd/display: Check correct bounds for stream encoder instances for DCN303 2022-08-10 15:30:06 -04:00
dcn303_resource.h drm/amd/display: move FPU associated DCN303 code to DML folder 2022-03-15 14:25:15 -04:00
Makefile drm/amd/display: move FPU associated DCN303 code to DML folder 2022-03-15 14:25:15 -04:00