Re: [RFC PATCH] fbdev: add support for Sigma Designs' smp8xxxfb.ko

2016-01-03 Thread Daniel Vetter
On Wed, Dec 30, 2015 at 12:32:00PM +0200, Tomi Valkeinen wrote: > > > On 30/12/15 11:31, Sebastian Frias wrote: > > Hi, > > > > On 12/30/2015 09:06 AM, Tomi Valkeinen wrote: > >> > >> Also note that I don't want new fbdev drivers into the mainline kernel. > >> You should implement a DRM based

Re: [RFC PATCH] fbdev: add support for Sigma Designs' smp8xxxfb.ko

2016-01-03 Thread Daniel Vetter
On Wed, Dec 30, 2015 at 12:32:00PM +0200, Tomi Valkeinen wrote: > > > On 30/12/15 11:31, Sebastian Frias wrote: > > Hi, > > > > On 12/30/2015 09:06 AM, Tomi Valkeinen wrote: > >> > >> Also note that I don't want new fbdev drivers into the mainline kernel. > >> You should implement a DRM based

Re: [RFC PATCH] fbdev: add support for Sigma Designs' smp8xxxfb.ko

2015-12-30 Thread Tomi Valkeinen
On 30/12/15 11:31, Sebastian Frias wrote: > Hi, > > On 12/30/2015 09:06 AM, Tomi Valkeinen wrote: >> >> Also note that I don't want new fbdev drivers into the mainline kernel. >> You should implement a DRM based driver instead. >> > > Thanks, is there a porting guide to go from fbdev to DRM?

Re: [RFC PATCH] fbdev: add support for Sigma Designs' smp8xxxfb.ko

2015-12-30 Thread Sebastian Frias
Hi, On 12/30/2015 09:06 AM, Tomi Valkeinen wrote: Also note that I don't want new fbdev drivers into the mainline kernel. You should implement a DRM based driver instead. Thanks, is there a porting guide to go from fbdev to DRM? Does DRM provides a "fbdev" backward compatible API? Would

Re: [RFC PATCH] fbdev: add support for Sigma Designs' smp8xxxfb.ko

2015-12-30 Thread Tomi Valkeinen
Hi, On 29/12/15 18:51, Sebastian Frias wrote: > On 12/29/2015 03:16 PM, Frans Klaver wrote: >> On Tue, Dec 29, 2015 at 3:06 PM, Sebastian Frias >> wrote: >>> Right now we don't know if the driver will be upstreamed. >>> Let me rephrase my question: >>> >>> - how would you recommend enabling

Re: [RFC PATCH] fbdev: add support for Sigma Designs' smp8xxxfb.ko

2015-12-30 Thread Tomi Valkeinen
Hi, On 29/12/15 18:51, Sebastian Frias wrote: > On 12/29/2015 03:16 PM, Frans Klaver wrote: >> On Tue, Dec 29, 2015 at 3:06 PM, Sebastian Frias >> wrote: >>> Right now we don't know if the driver will be upstreamed. >>> Let me rephrase my question: >>> >>> - how would you

Re: [RFC PATCH] fbdev: add support for Sigma Designs' smp8xxxfb.ko

2015-12-30 Thread Sebastian Frias
Hi, On 12/30/2015 09:06 AM, Tomi Valkeinen wrote: Also note that I don't want new fbdev drivers into the mainline kernel. You should implement a DRM based driver instead. Thanks, is there a porting guide to go from fbdev to DRM? Does DRM provides a "fbdev" backward compatible API? Would

Re: [RFC PATCH] fbdev: add support for Sigma Designs' smp8xxxfb.ko

2015-12-30 Thread Tomi Valkeinen
On 30/12/15 11:31, Sebastian Frias wrote: > Hi, > > On 12/30/2015 09:06 AM, Tomi Valkeinen wrote: >> >> Also note that I don't want new fbdev drivers into the mainline kernel. >> You should implement a DRM based driver instead. >> > > Thanks, is there a porting guide to go from fbdev to DRM?

Re: [RFC PATCH] fbdev: add support for Sigma Designs' smp8xxxfb.ko

2015-12-29 Thread Sebastian Frias
On 12/29/2015 03:16 PM, Frans Klaver wrote: On Tue, Dec 29, 2015 at 3:06 PM, Sebastian Frias wrote: Right now we don't know if the driver will be upstreamed. Let me rephrase my question: - how would you recommend enabling FB_CFB_FILLRECT, FB_CFB_COPYAREA and FB_CFB_IMAGEBLIT for a driver that

Re: [RFC PATCH] fbdev: add support for Sigma Designs' smp8xxxfb.ko

2015-12-29 Thread Frans Klaver
On Tue, Dec 29, 2015 at 3:06 PM, Sebastian Frias wrote: > On 12/29/2015 02:49 PM, Frans Klaver wrote: >> >> On Tue, Dec 29, 2015 at 2:15 PM, Sebastian Frias wrote: >>> >>> Hi, >>> >>> We are wondering what is the recommended way of adding support for a >>> framebuffer driver on the Linux kernel.

Re: [RFC PATCH] fbdev: add support for Sigma Designs' smp8xxxfb.ko

2015-12-29 Thread Sebastian Frias
On 12/29/2015 02:49 PM, Frans Klaver wrote: On Tue, Dec 29, 2015 at 2:15 PM, Sebastian Frias wrote: Hi, We are wondering what is the recommended way of adding support for a framebuffer driver on the Linux kernel. Below you can find a patch with a proposed solution. That's not really a

Re: [RFC PATCH] fbdev: add support for Sigma Designs' smp8xxxfb.ko

2015-12-29 Thread Frans Klaver
On Tue, Dec 29, 2015 at 2:15 PM, Sebastian Frias wrote: > Hi, > > We are wondering what is the recommended way of adding support for a > framebuffer driver on the Linux kernel. > Below you can find a patch with a proposed solution. That's not really a solution to add a driver to the kernel.

Re: [RFC PATCH] fbdev: add support for Sigma Designs' smp8xxxfb.ko

2015-12-29 Thread Sebastian Frias
On 12/29/2015 03:16 PM, Frans Klaver wrote: On Tue, Dec 29, 2015 at 3:06 PM, Sebastian Frias wrote: Right now we don't know if the driver will be upstreamed. Let me rephrase my question: - how would you recommend enabling FB_CFB_FILLRECT, FB_CFB_COPYAREA and FB_CFB_IMAGEBLIT

Re: [RFC PATCH] fbdev: add support for Sigma Designs' smp8xxxfb.ko

2015-12-29 Thread Frans Klaver
On Tue, Dec 29, 2015 at 2:15 PM, Sebastian Frias wrote: > Hi, > > We are wondering what is the recommended way of adding support for a > framebuffer driver on the Linux kernel. > Below you can find a patch with a proposed solution. That's not really a solution to add a driver

Re: [RFC PATCH] fbdev: add support for Sigma Designs' smp8xxxfb.ko

2015-12-29 Thread Frans Klaver
On Tue, Dec 29, 2015 at 3:06 PM, Sebastian Frias wrote: > On 12/29/2015 02:49 PM, Frans Klaver wrote: >> >> On Tue, Dec 29, 2015 at 2:15 PM, Sebastian Frias wrote: >>> >>> Hi, >>> >>> We are wondering what is the recommended way of adding support for a >>>

Re: [RFC PATCH] fbdev: add support for Sigma Designs' smp8xxxfb.ko

2015-12-29 Thread Sebastian Frias
On 12/29/2015 02:49 PM, Frans Klaver wrote: On Tue, Dec 29, 2015 at 2:15 PM, Sebastian Frias wrote: Hi, We are wondering what is the recommended way of adding support for a framebuffer driver on the Linux kernel. Below you can find a patch with a proposed solution. That's