[RFC] drm/fb-helper: reject any changes to the fbdev

2016-10-17 Thread Daniel Vetter
On Wed, Oct 12, 2016 at 12:37:07PM +0300, Tomi Valkeinen wrote: > On 12/10/16 02:15, Stefan Agner wrote: > > The current fbdev emulation does not allow to push back changes in > > width, height or depth to KMS, hence reject any changes with an > > error. This makes sure that fbdev ioctl's fail prop

[RFC] drm/fb-helper: reject any changes to the fbdev

2016-10-12 Thread Ville Syrjälä
On Wed, Oct 12, 2016 at 08:55:45AM -0700, Stefan Agner wrote: > On 2016-10-12 03:42, Ville Syrjälä wrote: > > On Tue, Oct 11, 2016 at 04:15:04PM -0700, Stefan Agner wrote: > >> The current fbdev emulation does not allow to push back changes in > >> width, height or depth to KMS, hence reject any

[RFC] drm/fb-helper: reject any changes to the fbdev

2016-10-12 Thread Ville Syrjälä
On Tue, Oct 11, 2016 at 04:15:04PM -0700, Stefan Agner wrote: > The current fbdev emulation does not allow to push back changes in > width, height or depth to KMS, hence reject any changes with an > error. This makes sure that fbdev ioctl's fail properly and user > space does not assume that change

[RFC] drm/fb-helper: reject any changes to the fbdev

2016-10-12 Thread Tomi Valkeinen
On 12/10/16 02:15, Stefan Agner wrote: > The current fbdev emulation does not allow to push back changes in > width, height or depth to KMS, hence reject any changes with an > error. This makes sure that fbdev ioctl's fail properly and user > space does not assume that changes succeeded. The descr

[RFC] drm/fb-helper: reject any changes to the fbdev

2016-10-12 Thread Stefan Agner
On 2016-10-12 09:12, Ville Syrjälä wrote: > On Wed, Oct 12, 2016 at 08:55:45AM -0700, Stefan Agner wrote: >> On 2016-10-12 03:42, Ville Syrjälä wrote: >> > On Tue, Oct 11, 2016 at 04:15:04PM -0700, Stefan Agner wrote: >> >> The current fbdev emulation does not allow to push back changes in >> >

[RFC] drm/fb-helper: reject any changes to the fbdev

2016-10-12 Thread Daniel Vetter
On Tue, Oct 11, 2016 at 04:15:04PM -0700, Stefan Agner wrote: > The current fbdev emulation does not allow to push back changes in > width, height or depth to KMS, hence reject any changes with an > error. This makes sure that fbdev ioctl's fail properly and user > space does not assume that change

[RFC] drm/fb-helper: reject any changes to the fbdev

2016-10-12 Thread Stefan Agner
On 2016-10-12 03:42, Ville Syrjälä wrote: > On Tue, Oct 11, 2016 at 04:15:04PM -0700, Stefan Agner wrote: >> The current fbdev emulation does not allow to push back changes in >> width, height or depth to KMS, hence reject any changes with an >> error. This makes sure that fbdev ioctl's fail prop

[RFC] drm/fb-helper: reject any changes to the fbdev

2016-10-11 Thread Stefan Agner
The current fbdev emulation does not allow to push back changes in width, height or depth to KMS, hence reject any changes with an error. This makes sure that fbdev ioctl's fail properly and user space does not assume that changes succeeded. Signed-off-by: Stefan Agner --- This rejects reconfigur