OSDN Git Service

broadcom/vc4: Allow importing linear BOs with arbitrary offset/stride.
authorEric Anholt <eric@anholt.net>
Tue, 6 Feb 2018 17:42:44 +0000 (17:42 +0000)
committerEric Anholt <eric@anholt.net>
Fri, 23 Feb 2018 16:42:13 +0000 (08:42 -0800)
commit0c1dd9dee0da6cde3031558a8e24a1fc400e0f99
treef297e6491f143ba29f1750de9d9929fcc4e33bc1
parent978b884afc1ab07f3c74e0f11a55cde86baa79b1
broadcom/vc4: Allow importing linear BOs with arbitrary offset/stride.

This is part of supporting YUV textures -- MMAL will be handing us a
single GEM BO with the planes at offsets within it, and MMAL-decided
stride.
src/gallium/drivers/vc4/vc4_resource.c