[PATCH v5 0/7] drm: add simpledrm driver

Thomas Zimmermann tzimmermann at suse.de
Fri Mar 12 08:03:46 UTC 2021


Hi

Am 12.03.21 um 04:49 schrieb nerdopolis:
> On Wednesday, March 10, 2021 4:10:35 AM EST Thomas Zimmermann wrote:
>> Hi
>>
>> Am 10.03.21 um 03:50 schrieb nerdopolis:
>>> On Friday, September 2, 2016 4:22:38 AM EST David Herrmann wrote:
>>>> Hey
>>>>
>>>> On request of Noralf, I picked up the patches and prepared v5. Works fine with
>>>> Xorg, if configured according to:
>>>>       https://lists.freedesktop.org/archives/dri-devel/2014-January/052777.html
>>>> If anyone knows how to make Xorg pick it up dynamically without such a static
>>>> configuration, please let me know.
>>>>
>>>>
>>>>
>>> Hi
>>>
>>> I am kind of curious as I do have interest in seeing this merged as well.
>>
>> Please take a look at [1]. It's not the same driver, but something to
>> the same effect. I know it's been almost a year, but I do work on this
>> and intend to come back with a new version during 2021.
>>
>> I currently work on fastboot support for the new driver. But it's a
>> complicated matter and takes time. If there's interest, we could talk
>> about merging what's already there.
>>
>> Best regards
>> Thomas
>>
>> [1]
>> https://lore.kernel.org/dri-devel/20200625120011.16168-1-tzimmermann@suse.de/
>>
>>>
>>> There is an email in this thread from 2018, but when I tried to import an mbox
>>> file from the whole month for August 2018, for some reason, kmail doesn't see
>>> the sender and mailing list recipient in that one, so I will reply to this one,
>>> because I was able to import this into my mail client.
>>> https://www.spinics.net/lists/dri-devel/msg185519.html
>>>
>>> I was able to get this to build against Linux 4.8, but not against a newer
>>> version, some headers seem to have been split, and some things are off by 8
>>> and other things. I could NOT find a git repo, but I was able to find the
>>> newest patches I could find, and import those with git am against 4.8 with
>>> some tweaks. If that is needed, I can link it, but only if you want.
>>>
>>> However in QEMU I wasn't able to figure out how to make it create a
>>> /dev/dri/card0 device, even after blacklisting the other modules for qxl,
>>> cirrus, etc, and then modprobe-ing simpledrm
>>>
>>> In my view something like this is would be useful. There still could be
>>> hardware devices that don't have modesetting support (like vmvga in
>>> qemu/virt-manager as an example). And most wayland servers need a
>>> /dev/dri/card0 device as well as a potential user-mode TTY replacement would
>>> also need /dev/dri/card0
>>>
>>> I will admit I unfortunately failed to get it to build against master. I
>>> couldn't figure out some of the changes, where some new structs were off by
>>> a factor of 8.
>>>
>>>
>>> Thanks
>>>
>>>
>>>
>>> _______________________________________________
>>> dri-devel mailing list
>>> dri-devel at lists.freedesktop.org
>>> https://lists.freedesktop.org/mailman/listinfo/dri-devel
>>>
>>
>>
> Hi
> 
> I tried simplekms against v5.9, and it built, and it runs, and is pretty neat.
> 
> I tried using the qxl, cirrus, and vmware card in QEMU. Weston starts on all
> of them. And I did ensure that the simplekms driver was being used

Cool! Thanks a lot. When I submit the next patchset can I add

Tested-by: nerdopolis <bluescreen_avenger at verizon.net>

to the tags?

> 
> That is, it works after adding GRUB_GFXPAYLOAD_LINUX=keep , to avoid having to
> set a VGA option. (although not sure the equivalent in syslinux yet)

Yeah, it's a known 'limitation.' (1) But it's usually something that 
Linux distributions take care of.

The rsp kernel feature needs a set up from the firmware/bootloader/etc. 
Once the driver has been merged, added other generic drivers (EFI, VESA, 
etc) should be a lot easier. Those would maybe not require the firmware 
setup.

Best regards
Thomas

(1) Well, it's the way it's supposed to work.

>   
> 
> Thanks.
> 
> 

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20210312/ba325608/attachment.sig>


More information about the dri-devel mailing list