Re: [Mesa-dev] [PATCH 7/8] panfrost: Fix BO import and export

2019-03-05 Thread Alyssa Rosenzweig
> With non-DRM this code doesn't execute (at least on the workloads I tested > with) because we don't support GEM handles for !scanout. Gotcha, thank you. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/list

Re: [Mesa-dev] [PATCH 7/8] panfrost: Fix BO import and export

2019-03-04 Thread Tomeu Vizoso
On 3/5/19 1:25 AM, Alyssa Rosenzweig wrote: Reviewed-by: Alyssa Rosenzweig Out of curiosity, when would this code path be needed? Was this a problem on the non-DRM driver too, or just the new kernel which makes heavier use of real BOs? With non-DRM this code doesn't execute (at least on the w

Re: [Mesa-dev] [PATCH 7/8] panfrost: Fix BO import and export

2019-03-04 Thread Alyssa Rosenzweig
Reviewed-by: Alyssa Rosenzweig Out of curiosity, when would this code path be needed? Was this a problem on the non-DRM driver too, or just the new kernel which makes heavier use of real BOs? ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http

[Mesa-dev] [PATCH 7/8] panfrost: Fix BO import and export

2019-03-04 Thread Tomeu Vizoso
Implement resource_get_handle for non-scanout cases. Signed-off-by: Tomeu Vizoso --- src/gallium/drivers/panfrost/pan_resource.c | 37 +++-- src/gallium/drivers/panfrost/pan_screen.h | 1 + 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/src/gallium/drivers/pa