From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Subject: Re: [PATCH 03/24] drm/virtio: Place GEM BOs in drm_framebuffer Date: Thu, 17 May 2018 16:29:25 +0200 Message-ID: <20180517142925.GD26515@ulmo> References: <20180330141138.28987-1-daniels@collabora.com> <20180330141138.28987-3-daniels@collabora.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1642416184==" Return-path: Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4A7726E934 for ; Thu, 17 May 2018 14:29:29 +0000 (UTC) Received: by mail-wm0-x243.google.com with SMTP id a8-v6so8789220wmg.5 for ; Thu, 17 May 2018 07:29:29 -0700 (PDT) In-Reply-To: <20180330141138.28987-3-daniels@collabora.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Daniel Stone Cc: Dave Airlie , Gerd Hoffmann , dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org List-Id: dri-devel@lists.freedesktop.org --===============1642416184== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wLAMOaPNJ0fu1fTG" Content-Disposition: inline --wLAMOaPNJ0fu1fTG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 30, 2018 at 03:11:17PM +0100, Daniel Stone wrote: > Since drm_framebuffer can now store GEM objects directly, place them > there rather than in our own subclass. As this makes the framebuffer > create_handle and destroy functions the same as the GEM framebuffer > helper, we can reuse those. >=20 > Signed-off-by: Daniel Stone > Cc: Dave Airlie > Cc: Gerd Hoffmann > Cc: virtualization@lists.linux-foundation.org > --- > drivers/gpu/drm/virtio/virtgpu_display.c | 30 +++++---------------------= ---- > drivers/gpu/drm/virtio/virtgpu_drv.h | 1 - > drivers/gpu/drm/virtio/virtgpu_fb.c | 8 ++++---- > drivers/gpu/drm/virtio/virtgpu_plane.c | 4 ++-- > 4 files changed, 11 insertions(+), 32 deletions(-) Reviewed-by: Thierry Reding --wLAMOaPNJ0fu1fTG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlr9kcUACgkQ3SOs138+ s6Fy4RAAvzRxuFMyCxYyVxjsD6OhSUNSaErf5ao/69II/JWneaX6dTHPNeDA9LhQ H9rg+6kHuptKipKZK83euuek4cSkbJvhHqbNGGmnqV8w9EUciER0BZGS/xbhvx7/ TjPLC8hi8bqAeaQXHO0ZHPQDphL346F/Ie9mztIRTQnhKtiPcccKlVTrkzmCrZvD pO6LtRRIrZEtv+7F8yBZSd+iKm6GqVJd8G32/CTJy1EzUE83Twkk3P1d0v3iU3A/ mR/aya1iFUM/S2D3xCwsamB7JKoLKpXU1oX8qWVWSBR4aEOQTsCxq5SpkZFLSdF8 WFcWUDCtBLDQO9XZn+eqcbX3ISqpLRqE0Y8+vrFVCMNxC3/zeEjBFfd0ERFvSgEF HdNe4U4U2QGh7802hXPKsNoXyId5g6yuKXWy71RXk0fdysIoah6WADrHoeDj6wPR e73wfqNqzzkTizP8pAwvr84tQc/xc4uVZHdzkvEv04+nRRed2yCTsgHB9nC2zh6k HjaxJioncCGyhgOSiZy1JD4iipgVDNzfe16J71LJylmRsGGYlQAyF3MVyU9kI2Uw LqU2es1cWdofNx/a+QNtP3kGLjxP3iVHhDrcuEYRFLfUyPGh64jMw/9u3EVEvog0 uDc1VpJkPLdoyghWgpwVelb28s+vtUhJ1KoiIpOJqAZkXhrOLZQ= =sFV2 -----END PGP SIGNATURE----- --wLAMOaPNJ0fu1fTG-- --===============1642416184== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1642416184==--