It is possible that adev->dm.dc->caps.max_links is greater than AMDGPU_MAX_CRTCS. So, to not potentially access unallocated memory use adev->mode_info.num_crtc to do the bounds check instead of adev->dm.dc->caps.max_links. Fixes: |
||
---|---|---|
.. | ||
acp | ||
amdgpu | ||
amdkfd | ||
display | ||
include | ||
pm |