mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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: |
||
|---|---|---|
| .. | ||
| amdgpu_dm | ||
| dc | ||
| dmub | ||
| include | ||
| modules | ||
| Kconfig | ||
| Makefile | ||
| TODO | ||