[PATCH 2/2] drm: make DRI1 drivers depend on BROKEN

2016-08-26 Thread Emil Velikov
On 26 August 2016 at 04:04, Kevin Brace wrote: > Hi Emil, > >> Hi Kevin, >> >> On 26 August 2016 at 01:19, Kevin Brace wrote: >> >> > I do not want to be seen as stopping progress, but there are still people >> > who use less than current hardware (myself and countless others) or non >> > Big

[PATCH 2/2] drm: make DRI1 drivers depend on BROKEN

2016-08-26 Thread Dave Airlie
On 4 August 2016 at 18:06, David Herrmann wrote: > The legacy DRI1 drivers expose highly broken interfaces to user-space. No > modern system should enable them, or you will effectively allow user-space > to circumvent most of your kernel security measures. The DRI1 kernel APIs > are simply

[PATCH 2/2] drm: make DRI1 drivers depend on BROKEN

2016-08-26 Thread Kevin Brace
Hi Connor, > > r128 is 90% the same as early radeons so it would make sense to add > > support to radeon. > > > > Alex > > Ccing Kevin Brace. > > The drivers were removed from mesa and "you won't have to freeze your > kernel or anything" was one of the justifications given at the time for > why

[PATCH 2/2] drm: make DRI1 drivers depend on BROKEN

2016-08-26 Thread Kevin Brace
Hi Emil, > Hi Kevin, > > On 26 August 2016 at 01:19, Kevin Brace wrote: > > > I do not want to be seen as stopping progress, but there are still people > > who use less than current hardware (myself and countless others) or non Big > > 3 x86 graphics (NVIDIA, AMD, and Intel) for things like

[PATCH 2/2] drm: make DRI1 drivers depend on BROKEN

2016-08-26 Thread Emil Velikov
Hi Kevin, On 26 August 2016 at 01:19, Kevin Brace wrote: > I do not want to be seen as stopping progress, but there are still people who > use less than current hardware (myself and countless others) or non Big 3 x86 > graphics (NVIDIA, AMD, and Intel) for things like thin clients. [snip] >

[PATCH 2/2] drm: make DRI1 drivers depend on BROKEN

2016-08-26 Thread Kevin Brace
Hi David, > Lets move forward and hide the remaining DRI1 drivers behind a config > option, so we have a central place to disable them all. Furthermore, we > can provide a clear warning to anyone enabling them. > > Signed-off-by: David Herrmann > --- > drivers/gpu/drm/Kconfig | 135 >

[PATCH 2/2] drm: make DRI1 drivers depend on BROKEN

2016-08-25 Thread Emil Velikov
On 25 August 2016 at 12:14, Daniel Vetter wrote: > On Thu, Aug 04, 2016 at 09:15:07AM +0100, Chris Wilson wrote: >> On Thu, Aug 04, 2016 at 10:06:57AM +0200, David Herrmann wrote: >> > The legacy DRI1 drivers expose highly broken interfaces to user-space. No >> > modern system should enable them,

[PATCH 2/2] drm: make DRI1 drivers depend on BROKEN

2016-08-25 Thread Daniel Vetter
On Thu, Aug 04, 2016 at 09:15:07AM +0100, Chris Wilson wrote: > On Thu, Aug 04, 2016 at 10:06:57AM +0200, David Herrmann wrote: > > The legacy DRI1 drivers expose highly broken interfaces to user-space. No > > modern system should enable them, or you will effectively allow user-space > > to

[PATCH 2/2] drm: make DRI1 drivers depend on BROKEN

2016-08-25 Thread Connor Behan
On 25/08/16 11:13 AM, Alex Deucher wrote: > On Thu, Aug 25, 2016 at 11:04 AM, Emil Velikov > wrote: >> On 25 August 2016 at 12:14, Daniel Vetter wrote: >>> On Thu, Aug 04, 2016 at 09:15:07AM +0100, Chris Wilson wrote: On Thu, Aug 04, 2016 at 10:06:57AM +0200, David Herrmann wrote: > The

[PATCH 2/2] drm: make DRI1 drivers depend on BROKEN

2016-08-25 Thread Alex Deucher
On Thu, Aug 25, 2016 at 11:04 AM, Emil Velikov wrote: > On 25 August 2016 at 12:14, Daniel Vetter wrote: >> On Thu, Aug 04, 2016 at 09:15:07AM +0100, Chris Wilson wrote: >>> On Thu, Aug 04, 2016 at 10:06:57AM +0200, David Herrmann wrote: >>> > The legacy DRI1 drivers expose highly broken

[PATCH 2/2] drm: make DRI1 drivers depend on BROKEN

2016-08-04 Thread David Herrmann
The legacy DRI1 drivers expose highly broken interfaces to user-space. No modern system should enable them, or you will effectively allow user-space to circumvent most of your kernel security measures. The DRI1 kernel APIs are simply broken. User-space can always use vesafb/efifb/simplefb and

[PATCH 2/2] drm: make DRI1 drivers depend on BROKEN

2016-08-04 Thread Chris Wilson
On Thu, Aug 04, 2016 at 10:06:57AM +0200, David Herrmann wrote: > The legacy DRI1 drivers expose highly broken interfaces to user-space. No > modern system should enable them, or you will effectively allow user-space > to circumvent most of your kernel security measures. The DRI1 kernel APIs > are