Skip to content
Commit 0a28eee9 authored by Alex Deucher's avatar Alex Deucher
Browse files

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: default avatarEvan Quan <evan.quan@amd.com>
Reported-by: default avatarAleksandr Mezin <mezin.alexander@gmail.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 17b99984
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment