drm/fb_helper: prevent some troubles waiting to happen

2011-10-26 Thread Ilija Hadzic
On Wed, 26 Oct 2011, Daniel Vetter wrote: > > I've quickly checked current callsites of drm_fb_helper_init and I think > you can just kill the two arguments crtc_count and max_conn_count. It is a usable functionality (i.e. allows the driver to select which connectors or CRTCs is fbcon allowed

drm/fb_helper: prevent some troubles waiting to happen

2011-10-26 Thread Daniel Vetter
On Tue, Oct 25, 2011 at 09:57:17PM -0400, Ilija Hadzic wrote: > The following two patches address potential problems that I > called "troubles waiting to happen" in this note > http://lists.freedesktop.org/archives/dri-devel/2011-October/015412.html > > I didn't hear anyone take on my question, s

Re: drm/fb_helper: prevent some troubles waiting to happen

2011-10-26 Thread Ilija Hadzic
On Wed, 26 Oct 2011, Daniel Vetter wrote: I've quickly checked current callsites of drm_fb_helper_init and I think you can just kill the two arguments crtc_count and max_conn_count. It is a usable functionality (i.e. allows the driver to select which connectors or CRTCs is fbcon allowed to

Re: drm/fb_helper: prevent some troubles waiting to happen

2011-10-26 Thread Daniel Vetter
On Tue, Oct 25, 2011 at 09:57:17PM -0400, Ilija Hadzic wrote: > The following two patches address potential problems that I > called "troubles waiting to happen" in this note > http://lists.freedesktop.org/archives/dri-devel/2011-October/015412.html > > I didn't hear anyone take on my question, s

drm/fb_helper: prevent some troubles waiting to happen

2011-10-25 Thread Ilija Hadzic
The following two patches address potential problems that I called "troubles waiting to happen" in this note http://lists.freedesktop.org/archives/dri-devel/2011-October/015412.html I didn't hear anyone take on my question, so I figured I would just send the patches. I tested the patches on a var

drm/fb_helper: prevent some troubles waiting to happen

2011-10-25 Thread Ilija Hadzic
The following two patches address potential problems that I called "troubles waiting to happen" in this note http://lists.freedesktop.org/archives/dri-devel/2011-October/015412.html I didn't hear anyone take on my question, so I figured I would just send the patches. I tested the patches on a var