[PATCH 03/24] drm/virtio: Place GEM BOs in drm_framebuffer

Thierry Reding
Thu, 17 May 2018 14:29:25 -0000

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.
>
> Signed-off-by: Daniel Stone <daniels at collabora.com>
> Cc: Dave Airlie <airlied at redhat.com>
> Cc: Gerd Hoffmann <kraxel at redhat.com>
> Cc: virtualization at 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 <treding at nvidia.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL:
<http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20180517/02d64c1a/attachment.sig>