[Intel-gfx] [PATCH] drm: Protect drm_connector_register_all() under DRIVER_MODESET

Emil Velikov emil.l.velikov at gmail.com
Sat Jun 18 13:26:36 UTC 2016


Hi Chris,

On 18 June 2016 at 13:13, Chris Wilson <chris at chris-wilson.co.uk> wrote:

>
> -       drm_connector_register_all(dev);
> +       if (drm_core_check_feature(dev, DRIVER_MODESET))
> +               drm_connector_register_all(dev);
>
Shouldn't the drm_connector_unregister_all() call in
drm_dev_unregister() be guarded by a similar check ?

-Emil


More information about the dri-devel mailing list