mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
drm/amdgpu: fall back to RCC_HW_DEBUG for VF frame buffer size
On some SR-IOV VFs RCC_CONFIG_MEMSIZE reads back 0. Fall back to RCC_HW_DEBUG for the frame buffer size in the nbif get_memsize() callback and in the early-init paths that read the register directly. Only VFs that read back 0 are affected. Signed-off-by: ZhenGuo Yin <zhenguo.yin@amd.com> Reviewed-by: Frank Min <frank.min@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
fa53376be6
commit
b34364d359
3 changed files with 25 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue