summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
diff options
context:
space:
mode:
authorAlex Sierra <alex.sierra@amd.com>2019-10-24 13:14:31 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-10-30 11:06:51 -0400
commitef6691565391d0ce4c995dd9ca58329cce1a78b8 (patch)
tree534bd220d67bd7acd80e4c93b0371dd48f2c0c46 /drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
parent533bfcaea1704450c0627a3dc329df8069036633 (diff)
downloadlinux-ef6691565391d0ce4c995dd9ca58329cce1a78b8.tar.bz2
drm/amdkfd: bug fix for out of bounds mem on gpu cache filling info
The bitmap in cu_info structure is defined as a 4x4 size array. In Acturus, this matrix is initialized as a 4x2. Based on the 8 shaders. In the gpu cache filling initialization, the access to the bitmap matrix was done as an 8x1 instead of 4x2. Causing an out of bounds memory access error. Due to this, the number of GPU cache entries was inconsistent. Signed-off-by: Alex Sierra <alex.sierra@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c')
0 files changed, 0 insertions, 0 deletions