aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* turnip: Add emit functions in a header.Bas Nieuwenhuizen2019-03-112-25/+109
| | | | | | | | | | | | | | | This adds a radv-style check_space functions + emit functions. Also puts them in a header as a bunch of inlines, so (1) we can use them from meta code. (2) they are inline for performance as these are common and small. Did not put them in tu_private.h as a bunch of inlines only clutters up that huge headerfile. Precise error propagation for memory allocation failures is still todo.
* turnip: preliminary support for tu_QueueWaitIdleChia-I Wu2019-03-112-1/+33
| | | | | | | This creates a new fd on each queue submit. I do not go with DRM_IOCTL_MSM_WAIT_FENCE solely because the path is marked legacy. Otherwise, we can use the fence id rather than requesting a fence fd until external fences are supported and enabled.
* turnip: constify tu_device in tu_gem_*Chia-I Wu2019-03-112-9/+9
|
* turnip: add wrappers around DRM_MSM_SUBMITQUEUE_*Chia-I Wu2019-03-113-12/+36
| | | | Add tu_drm_submitqueue_new and tu_drm_submitqueue_close.
* turnip: add wrappers around DRM_MSM_GET_PARAMChia-I Wu2019-03-113-32/+55
| | | | Add tu_drm_get_gpu_id and tu_drm_get_gmem_size.
* turnip: remove unnecessary libfreedreno_drm depChia-I Wu2019-03-113-14/+0
| | | | Remove libfreedreno_drm dep and unused fd_device.
* turnip: use msm_drm.h from inc_freedrenoChia-I Wu2019-03-112-8/+10
| | | | | The recent change to msm_drm.h changed the APIs in an incompatible way.
* turnip: Shorten primary_cmd_stream name.Bas Nieuwenhuizen2019-03-113-13/+13
| | | | It really is too long.
* turnip: Fill command bufferBas Nieuwenhuizen2019-03-111-1/+35
|
* turnip: Implement submission.Bas Nieuwenhuizen2019-03-111-0/+56
|
* turnip: Make bo_list functions not staticBas Nieuwenhuizen2019-03-112-4/+10
|
* turnip: Add msm queue support.Bas Nieuwenhuizen2019-03-112-1/+18
|
* turnip: Add a command stream.Bas Nieuwenhuizen2019-03-112-0/+154
|
* turnip: Implement a slow bo listBas Nieuwenhuizen2019-03-112-22/+58
|
* turnip: Implement some UUIDs.Bas Nieuwenhuizen2019-03-111-2/+2
|
* turnip: clean up TODO.Bas Nieuwenhuizen2019-03-111-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | ./deqp-vk -n dEQP-VK.info.* Writing test log into TestResults.qpa dEQP Core unknown (0xcafebabe) starting.. target implementation = 'Surfaceless' WARNING: tu is not a conformant vulkan implementation, testing use only. WARNING: tu is not a conformant vulkan implementation, testing use only. Test case 'dEQP-VK.info.build'.. Pass (Not validated) Test case 'dEQP-VK.info.device'.. Pass (Not validated) Test case 'dEQP-VK.info.platform'.. Pass (Not validated) Test case 'dEQP-VK.info.memory_limits'.. Pass (Pass) DONE! Test run totals: Passed: 4/4 (100.0%) Failed: 0/4 (0.0%) Not supported: 0/4 (0.0%) Warnings: 0/4 (0.0%)
* turnip: Remove some radv leftovers.Bas Nieuwenhuizen2019-03-111-25/+1
|
* turnip: Implement some format properties for RGBA8.Bas Nieuwenhuizen2019-03-111-1/+73
| | | | | Just to get some tests to not skip. This is neither complete nor completely correct.
* turnip: add .clang-formatChia-I Wu2019-03-1120-1093/+1027
| | | | Add and apply .clang-format.
* turnip: Implement pipe-less param query.Bas Nieuwenhuizen2019-03-113-15/+31
|
* turnip: move tu_gem.c to tu_drm.cBas Nieuwenhuizen2019-03-112-1/+1
|
* turnip: Stop hardcoding the msm version check.Bas Nieuwenhuizen2019-03-111-1/+2
|
* turnip: Add image layout calculations.Bas Nieuwenhuizen2019-03-113-0/+135
|
* turnip: Fix memory mapping.Bas Nieuwenhuizen2019-03-111-1/+2
|
* turnip: Fix bo allocation after we stopped using libdrm_freedreno ...Bas Nieuwenhuizen2019-03-112-17/+9
| | | | | Al this figuring out new errors is why I don't like reinventing the wheel.
* turnip: Add 630 to the list.Bas Nieuwenhuizen2019-03-111-0/+1
|
* turnip: Don't return from tu_stub funcsChad Versace2019-03-111-7/+0
| | | | | Since the macros are lowercase and look like normal functions, that they change control flow with a hidden return is surprising.
* turnip: Fix 'unused' warningsChad Versace2019-03-114-9/+26
| | | | Now turnip builds without warnings on my machine.
* turnip: Add TODO fileChad Versace2019-03-111-0/+3
|
* turnip: Replace fd_bo with tu_boChad Versace2019-03-114-10/+211
| | | | (olv, after rebase) remove inc_drm_uapi
* turnip: Use vk_errorf() for initialization error messagesChad Versace2019-03-111-21/+8
| | | | This small cleanup better prepares turnip for VK_EXT_debug_report.
* turnip: Add TODO for Android loggingChad Versace2019-03-111-0/+2
|
* turnip: Require DRM device version >= 1.3Chad Versace2019-03-111-0/+17
| | | | Because the driver will require support for iova.
* turnip: Fix indentationChad Versace2019-03-111-2/+2
|
* turnip: Fix a real -Wmaybe-uninitializedChad Versace2019-03-111-1/+1
|
* turnip: Use vk_outarray in all relevant public functionsChad Versace2019-03-111-75/+35
|
* turnip: Fix result of vkEnumerate*ExtensionPropertiesChad Versace2019-03-111-0/+9
| | | | | Given an unsupported layer name, the functions must return VK_ERROR_LAYER_NOT_PRESENT.
* turnip: Fix result of vkEnumerate*LayerPropertiesChad Versace2019-03-111-14/+4
| | | | | The functions must not return VK_ERROR_LAYER_NOT_PRESENT. The spec reserves that error for vkEnumerate*ExtensionProperties.
* turnip: Fix indentation in function signaturesChad Versace2019-03-1119-652/+652
| | | | | Due to s/anv/tu/, in many function signatures the indentation of parameters was off-by-one.
* turnip: Disable more features.Bas Nieuwenhuizen2019-03-111-19/+19
|
* turnip: Initialize memory type in requirements.Bas Nieuwenhuizen2019-03-111-2/+2
|
* turnip: Cargo cult the Intel heap size functionality.Bas Nieuwenhuizen2019-03-111-5/+18
|
* turnip: Report a memory type and heap.Bas Nieuwenhuizen2019-03-111-1/+17
|
* turnip: Add buffer allocation & mapping support.Bas Nieuwenhuizen2019-03-112-6/+25
|
* turnip: Fix newly introduced warning.Bas Nieuwenhuizen2019-03-111-0/+2
|
* turnip: Remove abort.Bas Nieuwenhuizen2019-03-111-1/+0
|
* turnip: Gather some device info.Bas Nieuwenhuizen2019-03-113-2/+60
|
* turnip: Fix up detection of device.Bas Nieuwenhuizen2019-03-111-4/+3
|
* turnip: Drop Makefile.am and Android.mkChad Versace2019-03-113-459/+0
| | | | | | | | | | The Makefile.am doesn't work. I tried fixing it but gave up because I don't understand Autotools. I strongly suspect the Android.mk also doesn't work. Rather than maintain the broken build files, let's delete them and re-add working build files if-and-when we need them. (Maybe we'll be lucky and turnip will never need to support Autotools!).
* turnip: Add driver skeleton (v2)Bas Nieuwenhuizen2019-03-1132-1/+9891
| | | | | | | | | | | | | | | | | 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