On 11/11/24 08:25, Akihiko Odaki wrote:
>>
>> I feel like using "drm" is confusing in this context because drm exists
>> for the host and guest. What about "native-context" or even
>> "context=[opengl|vulkan|wayland|native]"?
> 
> The terminology in the specification is "capset". Multiple capabilities
> can be enabled at a time (e.g., DRM and VENUS) and we don't have a means
> to express that with one property.
> 
> The best option I came up with is to strip the VIRTIO_GPU_ prefix from
> definitions in the specification. i.e.,:
> 
> VIRTIO_GPU_CAPSET_VIRGL -> capset-virgl
> VIRTIO_GPU_CAPSET_VIRGL2 -> capset-virgl2
> VIRTIO_GPU_CAPSET_GFXSTREAM -> capset-gfxstream
> VIRTIO_GPU_CAPSET_GFXSTREAM_VULKAN -> capset-gfxstream-vulkan
> VIRTIO_GPU_CAPSET_VENUS -> capset-venus
> VIRTIO_GPU_CAPSET_CROSS_DOMAIN -> capset-cross-domain
> VIRTIO_GPU_CAPSET_DRM -> capset-drm

Reasonable, thanks for the suggestion.

-- 
Best regards,
Dmitry

Reply via email to