Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | turnip: Add emit functions in a header. | Bas Nieuwenhuizen | 2019-03-11 | 2 | -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_QueueWaitIdle | Chia-I Wu | 2019-03-11 | 2 | -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 Wu | 2019-03-11 | 2 | -9/+9 | |
| | ||||||
* | turnip: add wrappers around DRM_MSM_SUBMITQUEUE_* | Chia-I Wu | 2019-03-11 | 3 | -12/+36 | |
| | | | | Add tu_drm_submitqueue_new and tu_drm_submitqueue_close. | |||||
* | turnip: add wrappers around DRM_MSM_GET_PARAM | Chia-I Wu | 2019-03-11 | 3 | -32/+55 | |
| | | | | Add tu_drm_get_gpu_id and tu_drm_get_gmem_size. | |||||
* | turnip: remove unnecessary libfreedreno_drm dep | Chia-I Wu | 2019-03-11 | 3 | -14/+0 | |
| | | | | Remove libfreedreno_drm dep and unused fd_device. | |||||
* | turnip: use msm_drm.h from inc_freedreno | Chia-I Wu | 2019-03-11 | 2 | -8/+10 | |
| | | | | | The recent change to msm_drm.h changed the APIs in an incompatible way. | |||||
* | turnip: Shorten primary_cmd_stream name. | Bas Nieuwenhuizen | 2019-03-11 | 3 | -13/+13 | |
| | | | | It really is too long. | |||||
* | turnip: Fill command buffer | Bas Nieuwenhuizen | 2019-03-11 | 1 | -1/+35 | |
| | ||||||
* | turnip: Implement submission. | Bas Nieuwenhuizen | 2019-03-11 | 1 | -0/+56 | |
| | ||||||
* | turnip: Make bo_list functions not static | Bas Nieuwenhuizen | 2019-03-11 | 2 | -4/+10 | |
| | ||||||
* | turnip: Add msm queue support. | Bas Nieuwenhuizen | 2019-03-11 | 2 | -1/+18 | |
| | ||||||
* | turnip: Add a command stream. | Bas Nieuwenhuizen | 2019-03-11 | 2 | -0/+154 | |
| | ||||||
* | turnip: Implement a slow bo list | Bas Nieuwenhuizen | 2019-03-11 | 2 | -22/+58 | |
| | ||||||
* | turnip: Implement some UUIDs. | Bas Nieuwenhuizen | 2019-03-11 | 1 | -2/+2 | |
| | ||||||
* | turnip: clean up TODO. | Bas Nieuwenhuizen | 2019-03-11 | 1 | -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 Nieuwenhuizen | 2019-03-11 | 1 | -25/+1 | |
| | ||||||
* | turnip: Implement some format properties for RGBA8. | Bas Nieuwenhuizen | 2019-03-11 | 1 | -1/+73 | |
| | | | | | Just to get some tests to not skip. This is neither complete nor completely correct. | |||||
* | turnip: add .clang-format | Chia-I Wu | 2019-03-11 | 20 | -1093/+1027 | |
| | | | | Add and apply .clang-format. | |||||
* | turnip: Implement pipe-less param query. | Bas Nieuwenhuizen | 2019-03-11 | 3 | -15/+31 | |
| | ||||||
* | turnip: move tu_gem.c to tu_drm.c | Bas Nieuwenhuizen | 2019-03-11 | 2 | -1/+1 | |
| | ||||||
* | turnip: Stop hardcoding the msm version check. | Bas Nieuwenhuizen | 2019-03-11 | 1 | -1/+2 | |
| | ||||||
* | turnip: Add image layout calculations. | Bas Nieuwenhuizen | 2019-03-11 | 3 | -0/+135 | |
| | ||||||
* | turnip: Fix memory mapping. | Bas Nieuwenhuizen | 2019-03-11 | 1 | -1/+2 | |
| | ||||||
* | turnip: Fix bo allocation after we stopped using libdrm_freedreno ... | Bas Nieuwenhuizen | 2019-03-11 | 2 | -17/+9 | |
| | | | | | Al this figuring out new errors is why I don't like reinventing the wheel. | |||||
* | turnip: Add 630 to the list. | Bas Nieuwenhuizen | 2019-03-11 | 1 | -0/+1 | |
| | ||||||
* | turnip: Don't return from tu_stub funcs | Chad Versace | 2019-03-11 | 1 | -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' warnings | Chad Versace | 2019-03-11 | 4 | -9/+26 | |
| | | | | Now turnip builds without warnings on my machine. | |||||
* | turnip: Add TODO file | Chad Versace | 2019-03-11 | 1 | -0/+3 | |
| | ||||||
* | turnip: Replace fd_bo with tu_bo | Chad Versace | 2019-03-11 | 4 | -10/+211 | |
| | | | | (olv, after rebase) remove inc_drm_uapi | |||||
* | turnip: Use vk_errorf() for initialization error messages | Chad Versace | 2019-03-11 | 1 | -21/+8 | |
| | | | | This small cleanup better prepares turnip for VK_EXT_debug_report. | |||||
* | turnip: Add TODO for Android logging | Chad Versace | 2019-03-11 | 1 | -0/+2 | |
| | ||||||
* | turnip: Require DRM device version >= 1.3 | Chad Versace | 2019-03-11 | 1 | -0/+17 | |
| | | | | Because the driver will require support for iova. | |||||
* | turnip: Fix indentation | Chad Versace | 2019-03-11 | 1 | -2/+2 | |
| | ||||||
* | turnip: Fix a real -Wmaybe-uninitialized | Chad Versace | 2019-03-11 | 1 | -1/+1 | |
| | ||||||
* | turnip: Use vk_outarray in all relevant public functions | Chad Versace | 2019-03-11 | 1 | -75/+35 | |
| | ||||||
* | turnip: Fix result of vkEnumerate*ExtensionProperties | Chad Versace | 2019-03-11 | 1 | -0/+9 | |
| | | | | | Given an unsupported layer name, the functions must return VK_ERROR_LAYER_NOT_PRESENT. | |||||
* | turnip: Fix result of vkEnumerate*LayerProperties | Chad Versace | 2019-03-11 | 1 | -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 signatures | Chad Versace | 2019-03-11 | 19 | -652/+652 | |
| | | | | | Due to s/anv/tu/, in many function signatures the indentation of parameters was off-by-one. | |||||
* | turnip: Disable more features. | Bas Nieuwenhuizen | 2019-03-11 | 1 | -19/+19 | |
| | ||||||
* | turnip: Initialize memory type in requirements. | Bas Nieuwenhuizen | 2019-03-11 | 1 | -2/+2 | |
| | ||||||
* | turnip: Cargo cult the Intel heap size functionality. | Bas Nieuwenhuizen | 2019-03-11 | 1 | -5/+18 | |
| | ||||||
* | turnip: Report a memory type and heap. | Bas Nieuwenhuizen | 2019-03-11 | 1 | -1/+17 | |
| | ||||||
* | turnip: Add buffer allocation & mapping support. | Bas Nieuwenhuizen | 2019-03-11 | 2 | -6/+25 | |
| | ||||||
* | turnip: Fix newly introduced warning. | Bas Nieuwenhuizen | 2019-03-11 | 1 | -0/+2 | |
| | ||||||
* | turnip: Remove abort. | Bas Nieuwenhuizen | 2019-03-11 | 1 | -1/+0 | |
| | ||||||
* | turnip: Gather some device info. | Bas Nieuwenhuizen | 2019-03-11 | 3 | -2/+60 | |
| | ||||||
* | turnip: Fix up detection of device. | Bas Nieuwenhuizen | 2019-03-11 | 1 | -4/+3 | |
| | ||||||
* | turnip: Drop Makefile.am and Android.mk | Chad Versace | 2019-03-11 | 3 | -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 Nieuwenhuizen | 2019-03-11 | 32 | -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 |