linux-loongson/drivers/gpu/drm/amd/display/dc/gpio/dcn20
Brandon Syu 9190d4a263 drm/amd/display: fix mapping to non-allocated address
[Why]
There is an issue mapping non-allocated location of memory.
It would allocate gpio registers from an array out of bounds.

[How]
Patch correct numbers of bounds for using.

Tested-by: Daniel Wheeler <Daniel.Wheeler@amd.com>
Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Brandon Syu <Brandon.Syu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-01-17 15:40:44 -05:00
..
hw_factory_dcn20.c drm/amd/display: fix mapping to non-allocated address 2023-01-17 15:40:44 -05:00
hw_factory_dcn20.h
hw_translate_dcn20.c drm/amd/display: Fix comments 2022-06-14 21:38:40 -04:00
hw_translate_dcn20.h