winsys/amdgpu: add uncached flag to the imported DRI_PRIME buffer
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Thu, 14 Oct 2021 13:16:31 +0000 (15:16 +0200)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Mon, 18 Oct 2021 15:16:53 +0000 (17:16 +0200)
commit8791e831b115b916f39ed46b497a2bcaada8b10a
tree2d2ad360968a34fe6df580d3fc40b30bc0474151
parenta90507252172bb0e353dd0e368d8fb773a1069af
winsys/amdgpu: add uncached flag to the imported DRI_PRIME buffer

There's no point in caching this linear buffer since we're only
ever writing to it.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13362>
src/gallium/winsys/amdgpu/drm/amdgpu_bo.c