mesa/src/broadcom/ci
Simon Ser 8de086e12f v3d: implement resource_get_param
Prior to this commit, the stride, offset and modifier were fetched
via WINSYS_HANDLE_TYPE_KMS. However we can't make such a query
succeed if the buffer couldn't be imported to the KMS device.

Instead, implement the resource_get_param hook to allow users to
fetch this information without WINSYS_HANDLE_TYPE_KMS.

A tiny helper function is introduced to compute the modifier of a
resource.

Signed-off-by: Simon Ser <contact@emersion.fr>
Fixes: 7bcb223639 ("v3d, vc4: Fix dmabuf import for non-scanout buffers")
Reported-by: Roman Stratiienko <r.stratiienko@gmail.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12370>
2021-08-19 13:12:51 +00:00
..
deqp-v3d-rpi4-fails.txt ci: Move the dEQP and traces expectations to the per-driver CI dirs. 2021-02-22 23:02:42 +00:00
deqp-v3d-rpi4-flakes.txt v3d: ci: Add KHR-GLES31.core.shader_image_load_store.basic-glsl-earlyFragTests to flakes 2021-06-15 21:37:17 +00:00
deqp-v3d-rpi4-gles.toml broadcom/ci: use deqp-runner suites for gles 2021-08-19 07:31:07 +00:00
deqp-v3dv-rpi4-fails.txt ci/v3dv: update expected results 2021-08-05 11:43:42 +00:00
deqp-v3dv-rpi4-flakes.txt broadcom/ci: use deqp-runner suites for gles 2021-08-19 07:31:07 +00:00
deqp-v3dv-rpi4-skips.txt ci: update to VK-GL-CTS 1.2.7.0 2021-07-30 20:02:13 +00:00
deqp-vc4-rpi3-fails.txt egl/dri2: Stop disabling pbuffer support on msaa configs 2021-07-23 19:22:44 +00:00
deqp-vc4-rpi3-flakes.txt ci: Move the dEQP and traces expectations to the per-driver CI dirs. 2021-02-22 23:02:42 +00:00
deqp-vc4-rpi3-gles.toml broadcom/ci: use deqp-runner suites for gles 2021-08-19 07:31:07 +00:00
deqp-vc4-rpi3-skips.txt ci/deqp: Skip flush_finish on all CI jobs. 2021-06-14 12:09:19 -07:00
gitlab-ci.yml broadcom/ci: use deqp-runner suites for gles 2021-08-19 07:31:07 +00:00
piglit-v3d-rpi4-fails.txt v3d: implement resource_get_param 2021-08-19 13:12:51 +00:00
piglit-v3d-rpi4-flakes.txt v3d/ci: add piglit flake 2021-08-17 09:29:59 +00:00
piglit-v3d-rpi4-skips.txt ci/piglit: Move the WGL skip to a common skips file. 2021-06-14 12:09:19 -07:00
piglit-vc4-rpi3-fails.txt ci/vc4: update piglit expected results 2021-08-10 07:05:27 +00:00
piglit-vc4-rpi3-flakes.txt ci: Update piglit to 4545a28cd8fea03fbab0e5f90bfbd812c32f3be1 2021-08-03 18:32:01 +00:00
piglit-vc4-rpi3-skips.txt ci/piglit: Move the WGL skip to a common skips file. 2021-06-14 12:09:19 -07:00