summaryrefslogtreecommitdiff
path: root/tests/kms_chamelium.c
diff options
context:
space:
mode:
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>2019-01-10 09:23:50 +0100
committerPaul Kocialkowski <paul.kocialkowski@bootlin.com>2019-02-26 09:45:54 +0100
commit0f4aff46d2aab7a3172a89c32c2abab6e2dc7c06 (patch)
treea4af60ce36b9b6ad1148b975642ec81ed4fdb0cc /tests/kms_chamelium.c
parentc4ca364c776c7943388d1ed0b645ed8894b9a7e1 (diff)
lib/igt_vc4: Add helpers for converting linear to SAND-tiled buffers
In order to test buffers with SAND tiling, it is useful to convert linear buffers to SAND tiling mode. Introduce helpers to assist in that direction, one that calculates the memory offset in the SAND-tiled buffer for a given pixel position and one that makes use of the latter for framebuffer conversion. Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> Acked-by: Lyude Paul <lyude@redhat.com> Reviewed-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'tests/kms_chamelium.c')
0 files changed, 0 insertions, 0 deletions