aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2020-02-06 14:53:06 -0500
committerAlex Deucher <[email protected]>2020-02-11 11:51:49 -0500
commit0a28eee97be92e7e97f78b7753a050ce66a97a1d (patch)
treee123e24928949e1ba6a86e439cb5e69936d985cd /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parent17b9998441d37c95b4fb1b7ac95facc9de43f18b (diff)
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 <[email protected]> Reported-by: Aleksandr Mezin <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions