All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH v5 0/7] drm: add simpledrm driver
@ 2018-07-24 12:27 Mads Lønsethagen
  2018-08-07 16:42 ` Daniel Vetter
  0 siblings, 1 reply; 9+ messages in thread
From: Mads Lønsethagen @ 2018-07-24 12:27 UTC (permalink / raw)
  To: dh.herrmann, dri-devel

> 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.
> 
> Thanks
> David
> 
> David Herrmann (7):
>   x86/sysfb: add support for 64bit EFI lfb_base
>   x86/sysfb: fix lfb_size calculation
>   of/platform: expose of_platform_device_destroy()
>   video: add generic framebuffer eviction
>   drm: switch to sysfb_evict_conflicts()
>   drm: add SimpleDRM driver
>   drm/simpledrm: add fbdev fallback support
> ...

Hi!

I asked Noralf about this patch set recently, and he mentioned that this 
never made it any further than this patch series...

Are there still any interest in getting this mainlined? Does the code 
exist in any repo anywhere? For my own part, this would be an awesome 
driver to have to resurrect some old hardware I have lying around...

- Mads
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v5 0/7] drm: add simpledrm driver
  2018-07-24 12:27 [PATCH v5 0/7] drm: add simpledrm driver Mads Lønsethagen
@ 2018-08-07 16:42 ` Daniel Vetter
  0 siblings, 0 replies; 9+ messages in thread
From: Daniel Vetter @ 2018-08-07 16:42 UTC (permalink / raw)
  To: Mads Lønsethagen; +Cc: dri-devel

On Tue, Jul 24, 2018 at 02:27:33PM +0200, Mads Lønsethagen 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.
> > 
> > Thanks
> > David
> > 
> > David Herrmann (7):
> >   x86/sysfb: add support for 64bit EFI lfb_base
> >   x86/sysfb: fix lfb_size calculation
> >   of/platform: expose of_platform_device_destroy()
> >   video: add generic framebuffer eviction
> >   drm: switch to sysfb_evict_conflicts()
> >   drm: add SimpleDRM driver
> >   drm/simpledrm: add fbdev fallback support
> > ...
> 
> Hi!
> 
> I asked Noralf about this patch set recently, and he mentioned that this
> never made it any further than this patch series...
> 
> Are there still any interest in getting this mainlined? Does the code exist
> in any repo anywhere? For my own part, this would be an awesome driver to
> have to resurrect some old hardware I have lying around...

I think no objections against merging this from upstream pov, and David
hopefully still has a git branch somewhere. Even better if you could get a
distro on board to use this instead of efifb of offb.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v5 0/7] drm: add simpledrm driver
  2021-03-12  8:03       ` Thomas Zimmermann
@ 2021-03-12 13:25         ` nerdopolis
  0 siblings, 0 replies; 9+ messages in thread
From: nerdopolis @ 2021-03-12 13:25 UTC (permalink / raw)
  To: dri-devel

On Friday, March 12, 2021 3:03:46 AM EST Thomas Zimmermann wrote:
> 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@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@verizon.net>
> 
> to the tags?
> 
Sure!
> > 
> > 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.
> > 
> > 
> 
> 




_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v5 0/7] drm: add simpledrm driver
  2021-03-12  3:49     ` nerdopolis
@ 2021-03-12  8:03       ` Thomas Zimmermann
  2021-03-12 13:25         ` nerdopolis
  0 siblings, 1 reply; 9+ messages in thread
From: Thomas Zimmermann @ 2021-03-12  8:03 UTC (permalink / raw)
  To: nerdopolis, dri-devel


[-- Attachment #1.1.1: Type: text/plain, Size: 4167 bytes --]

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@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@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


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v5 0/7] drm: add simpledrm driver
  2021-03-10  9:10   ` Thomas Zimmermann
  2021-03-10 13:52     ` nerdopolis
@ 2021-03-12  3:49     ` nerdopolis
  2021-03-12  8:03       ` Thomas Zimmermann
  1 sibling, 1 reply; 9+ messages in thread
From: nerdopolis @ 2021-03-12  3:49 UTC (permalink / raw)
  To: dri-devel; +Cc: Thomas Zimmermann

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@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

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)
 

Thanks.


_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v5 0/7] drm: add simpledrm driver
  2021-03-10  9:10   ` Thomas Zimmermann
@ 2021-03-10 13:52     ` nerdopolis
  2021-03-12  3:49     ` nerdopolis
  1 sibling, 0 replies; 9+ messages in thread
From: nerdopolis @ 2021-03-10 13:52 UTC (permalink / raw)
  To: dri-devel

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.
> 
Thanks, I'll try that out
> 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@lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/dri-devel
> > 
> 
> 




_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v5 0/7] drm: add simpledrm driver
  2021-03-10  2:50 ` nerdopolis
@ 2021-03-10  9:10   ` Thomas Zimmermann
  2021-03-10 13:52     ` nerdopolis
  2021-03-12  3:49     ` nerdopolis
  0 siblings, 2 replies; 9+ messages in thread
From: Thomas Zimmermann @ 2021-03-10  9:10 UTC (permalink / raw)
  To: nerdopolis, dri-devel


[-- Attachment #1.1.1: Type: text/plain, Size: 2915 bytes --]

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@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
> 

-- 
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


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v5 0/7] drm: add simpledrm driver
  2016-09-02  8:22 David Herrmann
@ 2021-03-10  2:50 ` nerdopolis
  2021-03-10  9:10   ` Thomas Zimmermann
  0 siblings, 1 reply; 9+ messages in thread
From: nerdopolis @ 2021-03-10  2:50 UTC (permalink / raw)
  To: dri-devel

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.
> 
> Thanks
> David
> 
> David Herrmann (7):
>   x86/sysfb: add support for 64bit EFI lfb_base
>   x86/sysfb: fix lfb_size calculation
>   of/platform: expose of_platform_device_destroy()
>   video: add generic framebuffer eviction
>   drm: switch to sysfb_evict_conflicts()
>   drm: add SimpleDRM driver
>   drm/simpledrm: add fbdev fallback support
> 
>  MAINTAINERS                                  |   6 +
>  arch/x86/kernel/sysfb_simplefb.c             |  39 ++-
>  drivers/gpu/drm/Kconfig                      |   3 +
>  drivers/gpu/drm/Makefile                     |   1 +
>  drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c      |  24 +-
>  drivers/gpu/drm/bochs/bochs_drv.c            |  19 +-
>  drivers/gpu/drm/i915/i915_drv.c              |  73 +---
>  drivers/gpu/drm/mgag200/mgag200_drv.c        |  27 +-
>  drivers/gpu/drm/mgag200/mgag200_main.c       |   9 -
>  drivers/gpu/drm/nouveau/nouveau_drm.c        |  33 +-
>  drivers/gpu/drm/radeon/radeon_drv.c          |  24 +-
>  drivers/gpu/drm/simpledrm/Kconfig            |  19 ++
>  drivers/gpu/drm/simpledrm/Makefile           |   9 +
>  drivers/gpu/drm/simpledrm/simpledrm.h        |  91 +++++
>  drivers/gpu/drm/simpledrm/simpledrm_damage.c | 194 +++++++++++
>  drivers/gpu/drm/simpledrm/simpledrm_drv.c    | 477 +++++++++++++++++++++++++++
>  drivers/gpu/drm/simpledrm/simpledrm_fbdev.c  | 143 ++++++++
>  drivers/gpu/drm/simpledrm/simpledrm_gem.c    | 109 ++++++
>  drivers/gpu/drm/simpledrm/simpledrm_kms.c    | 270 +++++++++++++++
>  drivers/gpu/drm/simpledrm/simpledrm_of.c     | 265 +++++++++++++++
>  drivers/gpu/drm/sun4i/sun4i_drv.c            |  24 +-
>  drivers/gpu/drm/vc4/vc4_drv.c                |  25 +-
>  drivers/gpu/drm/virtio/virtgpu_drm_bus.c     |  24 +-
>  drivers/of/platform.c                        |  35 +-
>  drivers/video/Kconfig                        |   4 +
>  drivers/video/Makefile                       |   1 +
>  drivers/video/sysfb.c                        | 327 ++++++++++++++++++
>  include/linux/of_platform.h                  |   1 +
>  include/linux/sysfb.h                        |  34 ++
>  29 files changed, 2054 insertions(+), 256 deletions(-)
>  create mode 100644 drivers/gpu/drm/simpledrm/Kconfig
>  create mode 100644 drivers/gpu/drm/simpledrm/Makefile
>  create mode 100644 drivers/gpu/drm/simpledrm/simpledrm.h
>  create mode 100644 drivers/gpu/drm/simpledrm/simpledrm_damage.c
>  create mode 100644 drivers/gpu/drm/simpledrm/simpledrm_drv.c
>  create mode 100644 drivers/gpu/drm/simpledrm/simpledrm_fbdev.c
>  create mode 100644 drivers/gpu/drm/simpledrm/simpledrm_gem.c
>  create mode 100644 drivers/gpu/drm/simpledrm/simpledrm_kms.c
>  create mode 100644 drivers/gpu/drm/simpledrm/simpledrm_of.c
>  create mode 100644 drivers/video/sysfb.c
>  create mode 100644 include/linux/sysfb.h
> 
> 
Hi

I am kind of curious as I do have interest in seeing this merged as well. 

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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH v5 0/7] drm: add simpledrm driver
@ 2016-09-02  8:22 David Herrmann
  2021-03-10  2:50 ` nerdopolis
  0 siblings, 1 reply; 9+ messages in thread
From: David Herrmann @ 2016-09-02  8:22 UTC (permalink / raw)
  To: dri-devel

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.

Thanks
David

David Herrmann (7):
  x86/sysfb: add support for 64bit EFI lfb_base
  x86/sysfb: fix lfb_size calculation
  of/platform: expose of_platform_device_destroy()
  video: add generic framebuffer eviction
  drm: switch to sysfb_evict_conflicts()
  drm: add SimpleDRM driver
  drm/simpledrm: add fbdev fallback support

 MAINTAINERS                                  |   6 +
 arch/x86/kernel/sysfb_simplefb.c             |  39 ++-
 drivers/gpu/drm/Kconfig                      |   3 +
 drivers/gpu/drm/Makefile                     |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c      |  24 +-
 drivers/gpu/drm/bochs/bochs_drv.c            |  19 +-
 drivers/gpu/drm/i915/i915_drv.c              |  73 +---
 drivers/gpu/drm/mgag200/mgag200_drv.c        |  27 +-
 drivers/gpu/drm/mgag200/mgag200_main.c       |   9 -
 drivers/gpu/drm/nouveau/nouveau_drm.c        |  33 +-
 drivers/gpu/drm/radeon/radeon_drv.c          |  24 +-
 drivers/gpu/drm/simpledrm/Kconfig            |  19 ++
 drivers/gpu/drm/simpledrm/Makefile           |   9 +
 drivers/gpu/drm/simpledrm/simpledrm.h        |  91 +++++
 drivers/gpu/drm/simpledrm/simpledrm_damage.c | 194 +++++++++++
 drivers/gpu/drm/simpledrm/simpledrm_drv.c    | 477 +++++++++++++++++++++++++++
 drivers/gpu/drm/simpledrm/simpledrm_fbdev.c  | 143 ++++++++
 drivers/gpu/drm/simpledrm/simpledrm_gem.c    | 109 ++++++
 drivers/gpu/drm/simpledrm/simpledrm_kms.c    | 270 +++++++++++++++
 drivers/gpu/drm/simpledrm/simpledrm_of.c     | 265 +++++++++++++++
 drivers/gpu/drm/sun4i/sun4i_drv.c            |  24 +-
 drivers/gpu/drm/vc4/vc4_drv.c                |  25 +-
 drivers/gpu/drm/virtio/virtgpu_drm_bus.c     |  24 +-
 drivers/of/platform.c                        |  35 +-
 drivers/video/Kconfig                        |   4 +
 drivers/video/Makefile                       |   1 +
 drivers/video/sysfb.c                        | 327 ++++++++++++++++++
 include/linux/of_platform.h                  |   1 +
 include/linux/sysfb.h                        |  34 ++
 29 files changed, 2054 insertions(+), 256 deletions(-)
 create mode 100644 drivers/gpu/drm/simpledrm/Kconfig
 create mode 100644 drivers/gpu/drm/simpledrm/Makefile
 create mode 100644 drivers/gpu/drm/simpledrm/simpledrm.h
 create mode 100644 drivers/gpu/drm/simpledrm/simpledrm_damage.c
 create mode 100644 drivers/gpu/drm/simpledrm/simpledrm_drv.c
 create mode 100644 drivers/gpu/drm/simpledrm/simpledrm_fbdev.c
 create mode 100644 drivers/gpu/drm/simpledrm/simpledrm_gem.c
 create mode 100644 drivers/gpu/drm/simpledrm/simpledrm_kms.c
 create mode 100644 drivers/gpu/drm/simpledrm/simpledrm_of.c
 create mode 100644 drivers/video/sysfb.c
 create mode 100644 include/linux/sysfb.h

-- 
2.9.3

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-03-12 13:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-24 12:27 [PATCH v5 0/7] drm: add simpledrm driver Mads Lønsethagen
2018-08-07 16:42 ` Daniel Vetter
  -- strict thread matches above, loose matches on Subject: below --
2016-09-02  8:22 David Herrmann
2021-03-10  2:50 ` nerdopolis
2021-03-10  9:10   ` Thomas Zimmermann
2021-03-10 13:52     ` nerdopolis
2021-03-12  3:49     ` nerdopolis
2021-03-12  8:03       ` Thomas Zimmermann
2021-03-12 13:25         ` nerdopolis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.