amdgpu/pp: use array_size to size the pwrvirus tables.
This avoids fragile hardcoding of array size. Signed-off-by: NDave Airlie <airlied@redhat.com> Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
Showing
想要评论请 注册 或 登录
This avoids fragile hardcoding of array size. Signed-off-by: NDave Airlie <airlied@redhat.com> Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>