]> git.itanic.dy.fi Git - linux-stable/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 May 2023 16:30:23 +0000 (17:30 +0100)
commitce7155379296f31d61c98b75d4435fb556f56c56
tree744f98e5f146314256585b93dd72aa2b3aee9cc6
parent52b7b69a6602f239c0dc9d584fe265f904f58d97
drm/amdgpu/gmc11: implement get_vbios_fb_size()

commit 68518294d00da6a2433357af75a63abc6030676e upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c