Skip to content

panfrost: Respect offset for imported resources

Daniel Stone requested to merge daniels/mesa:panfrost-bo-offset into master

When we import a resource through Gallium, we need to take account of the offset parameter passed.

Fixes a failure seen with the VIVID V4L2 driver, which would create NV12 resources within the same BO, with an offset.

Signed-off-by: Daniel Stone daniels@collabora.com Reported-by: Nicolas Dufresne nicolas.dufresne@collabora.com Tested-by: Nicolas Dufresne nicolas.dufresne@collabora.com

Merge request reports