linux-brain/drivers/gpu/drm/amd
Ernst Sjöstrand b56b6c51a9 drm/amd/amdgpu: Increase HWIP_MAX_INSTANCE to 10
commit 67a44e659888569a133a8f858c8230e9d7aad1d5 upstream.

Seems like newer cards can have even more instances now.
Found by UBSAN: array-index-out-of-bounds in
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c:318:29
index 8 is out of range for type 'uint32_t *[8]'

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1697
Cc: stable@vger.kernel.org
Signed-off-by: Ernst Sjöstrand <ernstp@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-22 12:26:39 +02:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amd/amdgpu: Increase HWIP_MAX_INSTANCE to 10 2021-09-22 12:26:39 +02:00
amdkfd drm/amdkfd: Account for SH/SE count when setting up cu masks. 2021-09-22 12:26:35 +02:00
display drm/display: fix possible null-pointer dereference in dcn10_set_clock() 2021-09-22 12:26:32 +02:00
include drm/amdgpu: Update NV SIMD-per-CU to 2 2021-07-19 08:53:14 +02:00
powerplay drm/amd/pm: do not use ixFEATURE_STATUS for checking smc running 2020-11-18 19:20:23 +01:00