]> git.baikalelectronics.ru Git - kernel.git/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)
commite1230c0931f3f78cc50ee7ea1764f1d7d5a01098
treeb00d857c2567db57b97b8543ebdc1a0b296744d1
parent3db6834e765ddf2850659ac54f3100e17dfb8803
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