RFC: drm/virtio: Dummy virtio GPU
Gerd Hoffmann
kraxel at redhat.com
Tue Feb 25 10:29:28 UTC 2020
On Mon, Feb 24, 2020 at 03:01:54PM -0800, Lepton Wu wrote:
> Hi,
>
> I'd like to get comments on this before I polish it. This is a
> simple way to get something similar with vkms but it heavily reuse
> the code provided by virtio-gpu. Please feel free to give me any
> feedbacks or comments.
No.
First, what is wrong with vkms?
Second, if you really want something simple with the minimal set of drm
features possible you can write a rather small but still self-contained
driver when using all the drm helpers (shmem, simple display pipe) we
have these days. Copy cirrus, strip it down: drop modesetting code,
drop blit-from-shmem-to-vram code, drop pci probing. Maybe add module
options for max/default video mode. Done.
What is the use case btw?
cheers,
Gerd
More information about the dri-devel
mailing list