Chad Versace
359e9016c5
turnip: Replace fd_bo with tu_bo
...
(olv, after rebase) remove inc_drm_uapi
2019-03-11 10:01:33 -07:00
Chad Versace
eb16ec715f
turnip: Use vk_errorf() for initialization error messages
...
This small cleanup better prepares turnip for VK_EXT_debug_report.
2019-03-11 10:01:33 -07:00
Chad Versace
cca208a033
turnip: Require DRM device version >= 1.3
...
Because the driver will require support for iova.
2019-03-11 10:01:33 -07:00
Chad Versace
5486943ed9
turnip: Fix indentation
2019-03-11 10:01:33 -07:00
Chad Versace
99a5de14cb
turnip: Fix a real -Wmaybe-uninitialized
2019-03-11 10:01:33 -07:00
Chad Versace
75f2c8458b
turnip: Use vk_outarray in all relevant public functions
2019-03-11 10:01:33 -07:00
Chad Versace
3ec87d56bd
turnip: Fix result of vkEnumerate*ExtensionProperties
...
Given an unsupported layer name, the functions must return
VK_ERROR_LAYER_NOT_PRESENT.
2019-03-11 10:01:33 -07:00
Chad Versace
ee835c7790
turnip: Fix result of vkEnumerate*LayerProperties
...
The functions must not return VK_ERROR_LAYER_NOT_PRESENT. The spec
reserves that error for vkEnumerate*ExtensionProperties.
2019-03-11 10:01:33 -07:00
Chad Versace
daffb01704
turnip: Fix indentation in function signatures
...
Due to s/anv/tu/, in many function signatures the indentation of
parameters was off-by-one.
2019-03-11 10:01:33 -07:00
Bas Nieuwenhuizen
b4f3e0d549
turnip: Disable more features.
2019-03-11 10:01:33 -07:00
Bas Nieuwenhuizen
a01edd9c86
turnip: Initialize memory type in requirements.
2019-03-11 10:01:33 -07:00
Bas Nieuwenhuizen
7be2e1fc37
turnip: Cargo cult the Intel heap size functionality.
2019-03-11 10:01:33 -07:00
Bas Nieuwenhuizen
462b693d94
turnip: Report a memory type and heap.
2019-03-11 10:01:33 -07:00
Bas Nieuwenhuizen
8e52e8183c
turnip: Add buffer allocation & mapping support.
2019-03-11 10:01:33 -07:00
Bas Nieuwenhuizen
a0d62e4337
turnip: Fix newly introduced warning.
2019-03-11 10:01:33 -07:00
Bas Nieuwenhuizen
bcd15ab34e
turnip: Remove abort.
2019-03-11 10:01:33 -07:00
Bas Nieuwenhuizen
13ff7ffbcb
turnip: Gather some device info.
2019-03-11 10:01:33 -07:00
Bas Nieuwenhuizen
7922d50bd4
turnip: Fix up detection of device.
2019-03-11 10:01:33 -07:00
Bas Nieuwenhuizen
26380b3a9f
turnip: Add driver skeleton (v2)
...
meson files have been updated, autotools and android still need
updating.
Only build tested.
v2 (chadv):
- Rebase onto master.
- Fix build breakage in Python scripts.
- Drop the WSI code. The internal WSI apis have changed recently, and
will likely change again before the driver goes upstream. To avoid
unnecessary rebase work, let's drop the WSI code and re-add it when
we're ready to really use WSI.
(olv, after rebase) do not enable freedreno by default on ARM
2019-03-11 10:01:15 -07:00