lkml.org 
[lkml]   [2015]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 7/9] drm/vc4: Add support for drawing 3D frames.
Date
Emil Velikov <emil.l.velikov@gmail.com> writes:

> Hi Eric,
>
> On 1 December 2015 at 20:35, Eric Anholt <eric@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@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 ?

This code is not exactly synced with Mesa, but I do sync between them on
a regular basis. The in-Mesa copy is secondary, and just a way for me
to get testing done faster (in the simulation environment with gdb) than
I can in the kernel with printfs.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-12-02 20:41    [W:0.860 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site