[Intel-gfx] [PATCH 09/14] drm: Update todo.rst

Emil Velikov emil.l.velikov at gmail.com
Mon Sep 3 17:38:44 UTC 2018


On 3 September 2018 at 17:54, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:

> -Hide legacy cruft better
> -------------------------
> -
> -Way back DRM supported only drivers which shadow-attached to PCI devices with
> -userspace or fbdev drivers setting up outputs. Modern DRM drivers take charge
> -of the entire device, you can spot them with the DRIVER_MODESET flag.
> -
> -Unfortunately there's still large piles of legacy code around which needs to
> -be hidden so that driver writers don't accidentally end up using it. And to
> -prevent security issues in those legacy IOCTLs from being exploited on modern
> -drivers. This has multiple possible subtasks:
> -

> -* Extract support code for legacy features into a ``drm-legacy.ko`` kernel
> -  module and compile it only when one of the legacy drivers is enabled.
> -
This isn't done,

> -This is mostly done, the only thing left is to split up ``drm_irq.c`` into
> -legacy cruft and the parts needed by modern KMS drivers.
> -
... while this one is.

HTH
-Emil


More information about the dri-devel mailing list