aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorDave Stevenson <[email protected]>2023-01-27 16:57:08 +0100
committerMaxime Ripard <[email protected]>2023-02-09 09:58:09 +0100
commit6b77b16de75a6efc0870b1fa467209387cbee8f3 (patch)
treec46e652f145497ea1a7ba981079bf841f42caf79 /tools/testing/selftests/bpf/progs/test_autoload.c
parent85e26dd5100a182bf8448050427539c0a66ab793 (diff)
drm/vc4: Fix YUV plane handling when planes are in different buffers
YUV images can either be presented as one allocation with offsets for the different planes, or multiple allocations with 0 offsets. The driver only ever calls drm_fb_[dma|cma]_get_gem_obj with plane index 0, therefore any application using the second approach was incorrectly rendered. Correctly determine the address for each plane, removing the assumption that the base address is the same for each. Fixes: fc04023fafec ("drm/vc4: Add support for YUV planes.") Signed-off-by: Dave Stevenson <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions