From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Anholt Subject: Re: [PATCH 7/9] drm/vc4: Add support for drawing 3D frames. Date: Wed, 02 Dec 2015 11:27:27 -0800 Message-ID: <87two08xcw.fsf@eliezer.anholt.net> References: <1449002158-19156-1-git-send-email-eric@anholt.net> <1449002158-19156-7-git-send-email-eric@anholt.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0976612144==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Emil Velikov Cc: "Linux-Kernel@Vger. Kernel. Org" , ML dri-devel List-Id: dri-devel@lists.freedesktop.org --===============0976612144== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --=-=-= 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----- --=-=-=-- --===============0976612144== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0976612144==--