[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [PATCH v1 2/2] virtio-gpu: add context init support
On Wed, Sep 08, 2021 at 06:29:53PM -0700, Gurchetan Singh wrote: > This brings explicit context initialization and different types > to virtio-gpu. > > In the past, VIRTIO_GPU_F_VIRGL meant the virglrenderer support. > With VIRTIO_GPU_F_VIRGL + VIRTIO_GPU_F_CONTEXT_INIT, this means > generic 3D virtualization defined by the context type. It's > entirely possible the virglrenderer project isn't available on > the host in this scenario. The VIRTIO_GPU_F_VIRGL naming > convention is kept since it's easier to redefine the meaning > rather than changing header files. > > The context type is associated an particular capset id. Virgl > has two capsets due a prior bug, but for other cases the 1:1 > mapping between context type and capset id is valid. > > In addition, fencing needs to be fixed to accomodate multiple > context types. In the past, there was one global timeline > associated witht the OpenGL rendering. Now, there are multiple > timelines which can be associated with GL, VK or even display > contexts. > > v2: Correct number of bits > v3: le32 info --> {u8 ring_idx + u8 padding[3]) > Don't require FLAG_FENCE and FLAG_RING_IDX Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]