]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: properly handling AGP aperture in vm setup
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 31 Jan 2023 14:56:46 +0000 (09:56 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Feb 2023 18:11:55 +0000 (19:11 +0100)
commit83d86241cef865dc8c0e9e2266d4b954d3b93204
tree7a5568bfbea5e9c185390808304d438ebaab37a0
parente7a821c161272ee08af42937b56a4b05b8a09079
drm/amd/display: properly handling AGP aperture in vm setup

commit 5c4e8c71d1202cd84d870e7e5cb8d6b52f9c3507 upstream.

Take into account whether or not the AGP aperture is
enabled or not when calculating the system aperture.

Fixes white screens with DCN 3.1.4.

Based on a patch from Yifan Zhang <yifan1.zhang@amd.com>

Cc: Yifan Zhang <yifan1.zhang@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@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/display/amdgpu_dm/amdgpu_dm.c