winsys/amdgpu: move amdgpu_winsys_bo::is_shared to the u.real union
authorMarek Olšák <marek.olsak@amd.com>
Wed, 3 Feb 2021 05:03:22 +0000 (00:03 -0500)
committerMarge Bot <eric+marge@anholt.net>
Sat, 6 Feb 2021 05:41:23 +0000 (05:41 +0000)
commit96c188d023fa9fd634378b5053138f8b9f28cd05
tree0b052065a9f3c473b92b25c06090c9594c589871
parent4bb9df366a74b0f691c971a674357beebad4e86d
winsys/amdgpu: move amdgpu_winsys_bo::is_shared to the u.real union

It's never true with slab and sparse buffers.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8849>
src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
src/gallium/winsys/amdgpu/drm/amdgpu_bo.h