[PATCH] char/agp: Disable frontend without CONFIG_DRM_LEGACY

Daniel Vetter daniel at ffwll.ch
Wed Nov 18 21:46:50 UTC 2020


On Wed, Nov 18, 2020 at 10:55:27AM -0500, Adam Jackson wrote:
> On Tue, Nov 17, 2020 at 4:40 PM Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> >
> > It's probably full of bugs ready for exploiting by userspace. And
> > there's not going to be any userspace for this without any of the drm
> > legacy drivers enabled too. So just couple it together.
> 
> Not quite true. The only UMS driver using this is i810, which needs it
> even with DRI disabled. I have difficulty caring though.

TIL.

> In related news, since i810 is only ever attached to 32-bit x86 we
> could disable the frontend unconditionally on amd64 (and everything
> else tbh).
> 
> Acked-by: Adam Jackson <ajax at redhat.com>

Pushed to drm-misc-next, thanks for taking a look.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list