diff options
author | 2020-02-06 14:53:06 -0500 | |
---|---|---|
committer | 2020-02-11 11:51:49 -0500 | |
commit | 0a28eee97be92e7e97f78b7753a050ce66a97a1d (patch) | |
tree | e123e24928949e1ba6a86e439cb5e69936d985cd /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | drm/amdgpu: update smu_v11_0_pptable.h (diff) | |
download | linux-dev-0a28eee97be92e7e97f78b7753a050ce66a97a1d.tar.xz linux-dev-0a28eee97be92e7e97f78b7753a050ce66a97a1d.zip |
drm/amdgpu:/navi10: use the ODCAP enum to index the caps array
Rather than the FEATURE_ID flags. Avoids a possible reading past
the end of the array.
Reviewed-by: Evan Quan <evan.quan@amd.com>
Reported-by: Aleksandr Mezin <mezin.alexander@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions