ac: Move has_local_buffers disable to radeonsi.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 9 Apr 2019 23:16:25 +0000 (01:16 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 15 Apr 2019 18:39:28 +0000 (20:39 +0200)
commitaf9534b9f3f687f3603e621bf282f4c546240afa
tree4798f75978ca03db1ce3cf4bcb77e0b1363d6f53
parenta589d8c0ab4ab16bc9d6722f414c580b3bad8c88
ac: Move has_local_buffers disable to radeonsi.

In radv we had a separate flag to actually use it + an env option
to experimentally use it.

The common code setting has_local_buffers to false of course broke
that experimental option.

Also the "enable on APU" did not make sense for RADV as it is still
disabled by default.

Fixes: b21a4efb553 "radv/winsys: allow local BOs on APUs"
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/common/ac_gpu_info.c
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c