drm/amdgpu/gmc11: implement get_vbios_fb_size()
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 11 May 2023 14:40:03 +0000 (10:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 May 2023 13:56:10 +0000 (09:56 -0400)
commit68518294d00da6a2433357af75a63abc6030676e
tree8641b58350a95ddbb885f2aaab9bc5148c566792
parent9d2d1827af295fd6971786672c41c4dba3657154
drm/amdgpu/gmc11: implement get_vbios_fb_size()

Implement get_vbios_fb_size() so we can properly reserve
the vbios splash screen to avoid potential artifacts on the
screen during the transition from the pre-OS console to the
OS console.

Acked-by: Sunil Khatri <sunil.khatri@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.1.x
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c