]> 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:32:51 +0000 (17:32 +0100)
commit9de5a985884acff022375a29bd5166bfabbded07
treeb00d857c2567db57b97b8543ebdc1a0b296744d1
parent903e942500c64bf3acc95e65336366a9e777d581
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