[Intel-gfx] [PATCH] drm/debugfs: Fix framebuffer debugfs file init

Dave Airlie airlied at gmail.com
Tue Nov 14 07:45:05 UTC 2017


On 14 November 2017 at 09:12, Noralf Trønnes <noralf at tronnes.org> wrote:
> The introduction of: drm/framebuffer: Add framebuffer debugfs file
> broke vgem. That patch assumed that all drivers had initialized the
> dev->mode_config.fb_lock mutex which happens in drm_mode_config_init().
> vgem doesn't need to call drm_mode_config_init().
>
> Fix this by only creating the framebuffer debugfs file for modesetting
> drivers.
>
> Fixes: 45d58b40292b ("drm/framebuffer: Add framebuffer debugfs file")
> Suggested-by: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Noralf Trønnes <noralf at tronnes.org>

Reviewed-by: Dave Airlie <airlied at redhat.com>

Can someone pushed this to drm-misc, I think it's blocking the intel CI ppl.

Dave.


More information about the Intel-gfx mailing list