- 13 May, 2020 1 commit
-
-
Marek Olšák authored
Acked-by:
Eric Anholt <eric@anholt.net> Acked-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Acked-by:
Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <!4902>
-
- 26 Feb, 2020 2 commits
-
-
Marek Olšák authored
Reviewed-by:
Kristian H. Kristensen <hoegsberg@google.com> Tested-by: Marge Bot <!3722> Part-of: <!3722>
-
Marek Olšák authored
Reviewed-by:
Kristian H. Kristensen <hoegsberg@google.com> Part-of: <!3722>
-
- 30 Jan, 2020 1 commit
-
-
Qiang Yu authored
Newly added heap buffer create interface can create a large enough buffer whose backup memory can increase dynamically as needed. Reviewed-by:
Vasily Khoruzhick <anarsoul@gmail.com> Tested-by:
Andreas Baierl <ichgeh@imkreisrum.de> Signed-off-by:
Qiang Yu <yuq825@gmail.com> Part-of: <!3264>
-
- 01 Nov, 2019 3 commits
-
-
Vasily Khoruzhick authored
Any BO would work, we don't have any BO types yet anyway. Moreover lima_submit_add_bo() changes BO flags so they won't match allocation flags. Reviewed-by:
Erico Nunes <nunes.erico@gmail.com> Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com>
-
Vasily Khoruzhick authored
Otherwise we may be looking in wrong bucket Reviewed-by:
Erico Nunes <nunes.erico@gmail.com> Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com>
-
Vasily Khoruzhick authored
LIMA_DEBUG=bocache now activates debug prints for BO allocation, destruction and BO cache. Reviewed-by:
Erico Nunes <nunes.erico@gmail.com> Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com>
-
- 23 Sep, 2019 2 commits
-
-
Vasily Khoruzhick authored
Allocating BOs is expensive, so we should avoid doing that by caching freed BOs. BO cache is modelled after one in v3d driver and works as follows: - in lima_bo_create() check if we have matching BO in cache and return it if there's one, allocate new BO otherwise. - in lima_bo_unreference() (renamed from lima_bo_free()): put BO in cache instead of freeing it and remove all stale BOs from cache Reviewed-by:
Qiang Yu <yuq825@gmail.com> Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com>
-
Vasily Khoruzhick authored
os_time_get_absolute_timeout(0) returns current time, while kernel driver expects 0 as value to poll BO status and return immediately. Fix it by setting abs_timeout to 0 if timeout_ns is 0 Reviewed-by:
Qiang Yu <yuq825@gmail.com> Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com>
-
- 16 Aug, 2019 1 commit
-
-
Erico Nunes authored
PIPE_TIMEOUT_INFINITE is unsigned and gets assigned to signed fields where it ends up as -1. When this reaches the kernel as a timeout it gets translated as no timeout, which cause the waiting functions to return immediately and not actually wait for a completion. This seems to cause unstable results with lima where even piglit tests randomly fail. Handle this by setting the signed max value in case of infinite timeout. Signed-off-by:
Erico Nunes <nunes.erico@gmail.com> Reviewed-by:
Qiang Yu <yuq825@gmail.com>
-
- 11 Apr, 2019 1 commit
-
-
Qiang Yu authored
v2: - use renamed util_dynarray_grow_cap - use DEBUG_GET_ONCE_FLAGS_OPTION for debug flags - remove DRM_FORMAT_MOD_ARM_AGTB_MODE0 usage - compute min/max index in driver v3: - fix plbu framebuffer state calculation - fix color_16pc assemble - use nir_lower_all_source_mods for lowering neg/abs/sat - use float arrary for static GPU data - add disassemble comment for static shader code - use drm_find_modifier v4: - use lima_nir_lower_uniform_to_scalar v5: - remove nir_opt_global_to_local when rebase Cc: Rob Clark <robdclark@gmail.com> Cc: Alyssa Rosenzweig <alyssa@rosenzweig.io> Acked-by:
Eric Anholt <eric@anholt.net> Signed-off-by:
Andreas Baierl <ichgeh@imkreisrum.de> Signed-off-by:
Arno Messiaen <arnomessiaen@gmail.com> Signed-off-by:
Connor Abbott <cwabbott0@gmail.com> Signed-off-by:
Erico Nunes <nunes.erico@gmail.com> Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Signed-off-by:
Koen Kooi <koen@dominion.thruhere.net> Signed-off-by:
Marek Vasut <marex@denx.de> Signed-off-by:
marmeladema <xademax@gmail.com> Signed-off-by:
Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com> Signed-off-by:
Rob Herring <robh@kernel.org> Signed-off-by:
Rohan Garg <rohan@garg.io> Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com> Signed-off-by:
Qiang Yu <yuq825@gmail.com>
-