[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7582e919-48a1-61cf-b697-804213776fbe@tronnes.org>
Date: Wed, 27 Mar 2019 15:35:17 +0100
From: Noralf Trønnes <noralf@...nnes.org>
To: Gerd Hoffmann <kraxel@...hat.com>, dri-devel@...ts.freedesktop.org
Cc: Gurchetan Singh <gurchetansingh@...omium.org>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
"open list:VIRTIO GPU DRIVER"
<virtualization@...ts.linux-foundation.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 2/5] drm/virtio: use struct to pass params to
virtio_gpu_object_create()
Den 18.03.2019 12.33, skrev Gerd Hoffmann:
> Create virtio_gpu_object_params, use that to pass object parameters to
> virtio_gpu_object_create. This is just the first step, followup patches
> will add more parameters to the struct. The plan is to use the struct
> for all object parameters.
>
> Drop unused "kernel" parameter for virtio_gpu_alloc_object(), it is
> unused and always false.
>
> Also drop "pinned" parameter. virtio-gpu doesn't shuffle around
> objects, so effecively they all are pinned anyway. Hardcode
> TTM_PL_FLAG_NO_EVICT so ttm knows. Doesn't change much for the moment
> as virtio-gpu supports TTM_PL_FLAG_TT only so there is no opportunity to
> move around objects. That'll probably change in the future though.
>
> Signed-off-by: Gerd Hoffmann <kraxel@...hat.com>
> ---
Acked-by: Noralf Trønnes <noralf@...nnes.org>
Powered by blists - more mailing lists