Skip to content

backport: winsys/amdgpu: Retrieve WC flags from imported buffers.

Bas Nieuwenhuizen requested to merge bnieuwenhuizen/mesa:winsys-20 into staging/20.0

Otherwise reading from an imported mapped GTT+WC linear texture is painfully slow.

Sadly no radeon winsys implementation, as I don't know a suitable kernel driver operation.

Hit this in vaGetImage with an image imported from minigbm (which we are switching to allocate WC for SCANOUT images).

Cc: Reviewed-by: Marek Olšák Acked-by: Pierre-Eric Pelloux-Prayer Part-of: !4542 (merged) (cherry picked from commit d80fb024)

Merge request reports