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)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 15:02:08 +0000 (11:02 -0400)
commitcfdce594171cea19ba033e8d7ff57a767c0ccd63
treeaa20472a6aabb4311f466e28ae4b603eada1b18c
parentb7941e2fef13baabd3eade31601e70adf729e887
drm/amdgpu: Program gds backup address as zero if no gds allocated

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>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c