From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751763AbbLBT1b (ORCPT ); Wed, 2 Dec 2015 14:27:31 -0500 Received: from gabe.freedesktop.org ([131.252.210.177]:58125 "EHLO gabe.freedesktop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750790AbbLBT1a (ORCPT ); Wed, 2 Dec 2015 14:27:30 -0500 From: Eric Anholt To: Emil Velikov Cc: ML dri-devel , "Linux-Kernel\@Vger. Kernel. Org" Subject: Re: [PATCH 7/9] drm/vc4: Add support for drawing 3D frames. In-Reply-To: References: <1449002158-19156-1-git-send-email-eric@anholt.net> <1449002158-19156-7-git-send-email-eric@anholt.net> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Wed, 02 Dec 2015 11:27:27 -0800 Message-ID: <87two08xcw.fsf@eliezer.anholt.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Emil Velikov writes: > Hi Eric, > > On 1 December 2015 at 20:35, Eric Anholt 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 >> --- >> 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. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJWX0YfAAoJELXWKTbR/J7ooeoP/0DyvusdLk+ciZWHpiDiGsFx 1WgoPMZTXHdjNGPEgCi5hxM5vBunzoCdOZFQ4KprdWKBoi8ughbRQ0fT6J3MLt2n FNYbv+fPmXkVFUOgdZtNp6lldafaSPEBStaNNZuiuKbeJDr+p1qT0jB7KroZBuZX v3WBIPZ60+UEgjidPenRE553pYD+2TYxdPitHmgmSe48QRG29uIAJsVPhP8ijYlW yybYW6bHZECUOQwHPHo9vKX+cOsBd7tinglsdV/qACNHn5eusLqbo2zM2ZogleVA +MUVi5v2EmzeDs1vQ7dtWJRpAGSm6nVe2ATQMypsdiIG26qxJ9EUTZisPTv9YvkT DwOqmgFg8cPj0aKk/4jrPeZUIagXCgYGKomo0bzzM+Gh/pkqksWgQXRsi2b5iLVH Qv1VxE3xFEYAN7V4LqhlCOZAhKQ9ChogElKFEm7NX4bIuFI/Gq9gD9F62Qzo0go7 M0XuhQLCk36UutNYR+YveZVaG9i8djL1ie+Zb8k20YQCcZ/ZYyP8DXVE1DdCUcUZ uh9VWsEeJvb9v/A4GGaNQ/fVbF5Jjt4mLDtB2tpPLYwcrgY0o239Ljh2uQkuNCyY gnmNv3puIB3a/yMxLW9pIU9kQoFUYDsF2t2g+UoiDK3UAWCam6CC6IM6msz89zTz cvVYcih90k7JuLmMArEi =7F3d -----END PGP SIGNATURE----- --=-=-=--