[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-07-03 Thread Thierry Reding
On Tue, Jun 30, 2015 at 11:04:45AM +0200, Daniel Vetter wrote: > On Tue, Jun 30, 2015 at 10:31 AM, Benjamin Gaignard > wrote: > > I think that what have been done by Rob with module_param is also a good > > idea: > >

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-07-03 Thread Rob Clark
On Fri, Jul 3, 2015 at 8:32 AM, Thierry Reding wrote: > On Tue, Jun 30, 2015 at 11:04:45AM +0200, Daniel Vetter wrote: >> On Tue, Jun 30, 2015 at 10:31 AM, Benjamin Gaignard >> wrote: >> > I think that what have been done by Rob with module_param is also a good >> > idea: >> >

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-06-30 Thread Archit Taneja
Hi, On 06/30/2015 02:01 PM, Benjamin Gaignard wrote: > Hi, > > I think that what have been done by Rob with module_param is also a good idea: > https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/gpu/drm/msm/msm_drv.c?id=e90dfec78ec288d6c89a7b508a5c5d4ae8b7f934 > > Can

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-06-30 Thread Archit Taneja
Hi, On 06/30/2015 12:40 PM, Daniel Vetter wrote: > Any updates on this or too much distractions? I really think doing > this would be awesome for the drm subsystem, instead of reinventing > this wheel for each driver. I'd started on this again. I've got more free time now than before, so I

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-06-30 Thread Daniel Vetter
On Tue, Jun 30, 2015 at 10:31 AM, Benjamin Gaignard wrote: > I think that what have been done by Rob with module_param is also a good idea: > https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/gpu/drm/msm/msm_drv.c?id=e90dfec78ec288d6c89a7b508a5c5d4ae8b7f934 > > Can

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-06-30 Thread Benjamin Gaignard
Hi, I think that what have been done by Rob with module_param is also a good idea: https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/gpu/drm/msm/msm_drv.c?id=e90dfec78ec288d6c89a7b508a5c5d4ae8b7f934 Can you mix compilation flag and module param ? Benjamin

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-06-30 Thread Daniel Vetter
Any updates on this or too much distractions? I really think doing this would be awesome for the drm subsystem, instead of reinventing this wheel for each driver. -Daniel On Wed, Mar 25, 2015 at 10:21 AM, Daniel Vetter wrote: > On Wed, Mar 25, 2015 at 01:47:54PM +0530, Archit Taneja wrote: >>

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-25 Thread Archit Taneja
Hi, On 03/13/2015 02:36 PM, Daniel Vetter wrote: > On Fri, Mar 13, 2015 at 11:55:07AM +0530, Archit Taneja wrote: >> >> >> On 03/11/2015 08:47 PM, Daniel Vetter wrote: >>> On Wed, Mar 11, 2015 at 01:51:02PM +0530, Archit Taneja wrote: On 03/10/2015 05:47 PM, Daniel Vetter wrote:

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-25 Thread Daniel Vetter
On Wed, Mar 25, 2015 at 01:47:54PM +0530, Archit Taneja wrote: > Hi, > > On 03/13/2015 02:36 PM, Daniel Vetter wrote: > >On Fri, Mar 13, 2015 at 11:55:07AM +0530, Archit Taneja wrote: > >> > >> > >>On 03/11/2015 08:47 PM, Daniel Vetter wrote: > >>>On Wed, Mar 11, 2015 at 01:51:02PM +0530, Archit

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-13 Thread Archit Taneja
On 03/13/2015 02:36 PM, Daniel Vetter wrote: > On Fri, Mar 13, 2015 at 11:55:07AM +0530, Archit Taneja wrote: >> >> >> On 03/11/2015 08:47 PM, Daniel Vetter wrote: >>> On Wed, Mar 11, 2015 at 01:51:02PM +0530, Archit Taneja wrote: On 03/10/2015 05:47 PM, Daniel Vetter wrote: >

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-13 Thread Archit Taneja
On 03/11/2015 08:47 PM, Daniel Vetter wrote: > On Wed, Mar 11, 2015 at 01:51:02PM +0530, Archit Taneja wrote: >> >> >> On 03/10/2015 05:47 PM, Daniel Vetter wrote: >>> On Tue, Mar 10, 2015 at 03:52:41PM +0530, Archit Taneja wrote: On 03/10/2015 03:35 PM, Daniel Vetter wrote: > On Tue,

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-13 Thread Jani Nikula
On Fri, 13 Mar 2015, Daniel Vetter wrote: > #if defined(CONFIG_FB) > #include > #else Side note, #if IS_ENABLED(CONFIG_FB) BR, Jani. -- Jani Nikula, Intel Open Source Technology Center

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-13 Thread Daniel Vetter
On Fri, Mar 13, 2015 at 11:55:07AM +0530, Archit Taneja wrote: > > > On 03/11/2015 08:47 PM, Daniel Vetter wrote: > >On Wed, Mar 11, 2015 at 01:51:02PM +0530, Archit Taneja wrote: > >> > >> > >>On 03/10/2015 05:47 PM, Daniel Vetter wrote: > >>>On Tue, Mar 10, 2015 at 03:52:41PM +0530, Archit

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-11 Thread Daniel Vetter
On Wed, Mar 11, 2015 at 01:51:02PM +0530, Archit Taneja wrote: > > > On 03/10/2015 05:47 PM, Daniel Vetter wrote: > >On Tue, Mar 10, 2015 at 03:52:41PM +0530, Archit Taneja wrote: > >>On 03/10/2015 03:35 PM, Daniel Vetter wrote: > >>>On Tue, Mar 10, 2015 at 03:22:49PM +0530, Archit Taneja wrote:

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-11 Thread Archit Taneja
On 03/10/2015 05:47 PM, Daniel Vetter wrote: > On Tue, Mar 10, 2015 at 03:52:41PM +0530, Archit Taneja wrote: >> On 03/10/2015 03:35 PM, Daniel Vetter wrote: >>> On Tue, Mar 10, 2015 at 03:22:49PM +0530, Archit Taneja wrote: On 03/10/2015 03:17 PM, Daniel Vetter wrote: > On Tue, Mar 10,

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-11 Thread Archit Taneja
On 03/10/2015 09:03 PM, Jani Nikula wrote: > On Tue, 10 Mar 2015, Archit Taneja wrote: >> On 03/10/2015 03:35 PM, Daniel Vetter wrote: >>> On Tue, Mar 10, 2015 at 03:22:49PM +0530, Archit Taneja wrote: On 03/10/2015 03:17 PM, Daniel Vetter wrote: > On Tue, Mar 10, 2015 at

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Jani Nikula
On Tue, 10 Mar 2015, Archit Taneja wrote: > On 03/10/2015 03:35 PM, Daniel Vetter wrote: >> On Tue, Mar 10, 2015 at 03:22:49PM +0530, Archit Taneja wrote: >>> >>> >>> On 03/10/2015 03:17 PM, Daniel Vetter wrote: On Tue, Mar 10, 2015 at 03:11:28PM +0530, Archit Taneja wrote: >>>

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Archit Taneja
On 03/10/2015 03:35 PM, Daniel Vetter wrote: > On Tue, Mar 10, 2015 at 03:22:49PM +0530, Archit Taneja wrote: >> >> >> On 03/10/2015 03:17 PM, Daniel Vetter wrote: >>> On Tue, Mar 10, 2015 at 03:11:28PM +0530, Archit Taneja wrote: Legacy fbdev emulation support via DRM is achieved through

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Archit Taneja
On 03/10/2015 03:16 PM, Daniel Vetter wrote: > On Tue, Mar 10, 2015 at 03:11:28PM +0530, Archit Taneja wrote: >> Legacy fbdev emulation support via DRM is achieved through KMS FB helpers. >> Most modesetting drivers enable provide fbdev emulation by default by >> selecting >> KMS FB helpers. A

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Archit Taneja
On 03/10/2015 03:17 PM, Daniel Vetter wrote: > On Tue, Mar 10, 2015 at 03:11:28PM +0530, Archit Taneja wrote: >> Legacy fbdev emulation support via DRM is achieved through KMS FB helpers. >> Most modesetting drivers enable provide fbdev emulation by default by >> selecting >> KMS FB helpers. A

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Archit Taneja
Legacy fbdev emulation support via DRM is achieved through KMS FB helpers. Most modesetting drivers enable provide fbdev emulation by default by selecting KMS FB helpers. A few provide a separate Kconfig option for the user to enable or disbale fbdev emulation. Enabling fbdev emulation is finally

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Daniel Vetter
On Tue, Mar 10, 2015 at 03:52:41PM +0530, Archit Taneja wrote: > On 03/10/2015 03:35 PM, Daniel Vetter wrote: > >On Tue, Mar 10, 2015 at 03:22:49PM +0530, Archit Taneja wrote: > >>On 03/10/2015 03:17 PM, Daniel Vetter wrote: > >>>On Tue, Mar 10, 2015 at 03:11:28PM +0530, Archit Taneja wrote: >

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Daniel Vetter
On Tue, Mar 10, 2015 at 03:22:49PM +0530, Archit Taneja wrote: > > > On 03/10/2015 03:17 PM, Daniel Vetter wrote: > >On Tue, Mar 10, 2015 at 03:11:28PM +0530, Archit Taneja wrote: > >>Legacy fbdev emulation support via DRM is achieved through KMS FB helpers. > >>Most modesetting drivers enable

[RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-10 Thread Daniel Vetter
On Tue, Mar 10, 2015 at 03:11:28PM +0530, Archit Taneja wrote: > Legacy fbdev emulation support via DRM is achieved through KMS FB helpers. > Most modesetting drivers enable provide fbdev emulation by default by > selecting > KMS FB helpers. A few provide a separate Kconfig option for the user to