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

Jani Nikula jani.nikula at linux.intel.com
Tue Nov 14 10:11:55 UTC 2017


On Tue, 14 Nov 2017, Dave Airlie <airlied at gmail.com> wrote:
> 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.

Pushed, thanks for the patch and review.

On the one hand, we badly need to have CI running on non-Intel drm core
patches too. On the other hand, I'm still not sure if we're producing
good enough results yet to expose to all of drm. The false negatives are
too frequent I fear.

BR,
Jani.


>
> Dave.
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Jani Nikula, Intel Open Source Technology Center


More information about the dri-devel mailing list