winsys/amdgpu: don't send CP_GFX_SHADOW chunk if shadow address is not set
authorMarek Olšák <marek.olsak@amd.com>
Sat, 30 Sep 2023 00:30:23 +0000 (20:30 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 17 Oct 2023 00:31:07 +0000 (00:31 +0000)
commit8211635c44c7b3e6ad1e7036908218ef0d4d9342
tree406a9bff4ecbb7af3c744e2239b3380824f0e64a
parent6224630e43be8a13ef0e799f0bc142ca62018445
winsys/amdgpu: don't send CP_GFX_SHADOW chunk if shadow address is not set

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25484>
src/gallium/winsys/amdgpu/drm/amdgpu_cs.c