Dave Airlie
edf2acbeb1
radv: add support for using addrlib max alignment.
...
Rather than using 64k, use what addrlib returns as the base
alignment for vulkan allocations.
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2017-07-09 22:17:59 +01:00
Bas Nieuwenhuizen
ecdace80f4
ac/surface: Fix HTILE for radv.
...
We always compute HTILE size using addrlib, even when not TC compatible.
Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Reviewed-by: Dave Airlied <airlied@redhat.com>
2017-06-06 03:17:02 +02:00
Nicolai Hähnle
e07d5c7296
ac/surface/gfx6: explicitly support S8 surfaces
...
This is needed by radv for dEQP-VK.renderpass.simple.stencil
Reviewed-by: Dave Airlie <airlied@redhat.com>
2017-06-05 10:43:29 +10:00
Nicolai Hähnle
c488bf24ed
ac: add radeon_surf::htile_slice_size
...
Vulkan needs it.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2017-05-18 11:48:52 +02:00
Nicolai Hähnle
98a2492290
ac_surface: use radeon_info from ac_gpu_info
...
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2017-05-18 11:48:52 +02:00
Nicolai Hähnle
4d6e75776d
ac/radeonsi: move some aspects of sanity checking to ac_surface
...
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2017-05-18 11:48:52 +02:00
Nicolai Hähnle
00f466bad9
ac/radeonsi: add ac_compute_surface to automatically switch gfx6 vs. gfx9
...
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2017-05-18 11:48:52 +02:00
Nicolai Hähnle
8aabed64c3
ac/radeonsi: move the bulk of gfx9_surface_init to ac_surface
...
We can now merge the two *_surface_init functions.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2017-05-18 11:48:51 +02:00
Nicolai Hähnle
db77cd879b
ac/radeonsi: move the bulk of gfx6_surface_init to ac_surface
...
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2017-05-18 11:48:51 +02:00
Nicolai Hähnle
f187a49322
ac/radeonsi: move amdgpu_addr_create to ac_surface
...
v2:
- update Android.common.mk (Emil)
- rebase on top of Raven support
Reviewed-by: Marek Olšák <marek.olsak@amd.com> (v1)
2017-05-18 11:48:51 +02:00