[PATCH 7/9] drm/vc4: Add support for drawing 3D frames.

Emil Velikov emil.l.velikov at gmail.com
Wed Dec 2 03:29:39 PST 2015


Hi Eric,

On 1 December 2015 at 20:35, Eric Anholt <eric at anholt.net> wrote:
> The user submission is basically a pointer to a command list and a
> pointer to uniforms.  We copy those in to the kernel, validate and
> relocate them, and store the result in a GPU BO which we queue for
> execution.
>
> Signed-off-by: Eric Anholt <eric at anholt.net>
> ---
>  drivers/gpu/drm/vc4/Makefile           |   7 +
>  drivers/gpu/drm/vc4/vc4_drv.c          |  15 +-
>  drivers/gpu/drm/vc4/vc4_drv.h          | 192 +++++++
>  drivers/gpu/drm/vc4/vc4_gem.c          | 640 ++++++++++++++++++++++
>  drivers/gpu/drm/vc4/vc4_irq.c          | 210 ++++++++
>  drivers/gpu/drm/vc4/vc4_packet.h       | 399 ++++++++++++++
>  drivers/gpu/drm/vc4/vc4_render_cl.c    | 631 ++++++++++++++++++++++
>  drivers/gpu/drm/vc4/vc4_trace.h        |  63 +++
>  drivers/gpu/drm/vc4/vc4_trace_points.c |  14 +
>  drivers/gpu/drm/vc4/vc4_v3d.c          |  37 ++
>  drivers/gpu/drm/vc4/vc4_validate.c     | 955 +++++++++++++++++++++++++++++++++
>  include/uapi/drm/vc4_drm.h             | 141 +++++
>  12 files changed, 3303 insertions(+), 1 deletion(-)

Am I assuming correct that the above are the exact same ones copied in
mesa (and used only then simulator is used) ? In the short term
keeping the two in sync would be fine, although wondering if you have
plans to reshuffle things in the long term ?

Thanks
Emil


More information about the dri-devel mailing list