radv: Only set the MTYPE flags on GFX9+.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 8 Oct 2017 19:58:23 +0000 (21:58 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 10 Oct 2017 21:57:33 +0000 (07:57 +1000)
commit96f80c8d4d97771b5450d6d15ddb3b172c7d69cf
tree28a88177b9d3f2928f1eb0abf609c86b85df14d3
parentea0d2e98ecb369ab84e78c84709c0930ea8c293a
radv: Only set the MTYPE flags on GFX9+.

Older kernels fail the va_op with this flag set. If the kernel
supports GFX9 usefully, it will also support this flag.

Fixes: e8d57802fea "radv/gfx9: allocate events from uncached VA space"
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c