]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu: Program gds backup address as zero if no gds allocated
authorJiadong Zhu <Jiadong.Zhu@amd.com>
Wed, 24 May 2023 08:51:32 +0000 (16:51 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jun 2023 14:02:11 +0000 (16:02 +0200)
commitedcff657081e0453d518e323407afa9ae5139c34
treef9cd9a8f5b5ac59ac2171494d492fe0149605a6b
parent3be6bfdf9f074cbe608c59cc2bfea0703ed2f993
drm/amdgpu: Program gds backup address as zero if no gds allocated

commit 94034b306ddde4a4a9c1a597ae7f61f04b710dc7 upstream.

It is firmware requirement to set gds_backup_addrlo and gds_backup_addrhi
of DE meta both zero if no gds partition is allocated for the frame.

Signed-off-by: Jiadong Zhu <Jiadong.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.3.x
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c