]> git.baikalelectronics.ru Git - kernel.git/commit
drm: fix drm_drv_uses_atomic_modeset on non modesetting drivers.
authorDave Airlie <airlied@redhat.com>
Tue, 18 Sep 2018 06:20:18 +0000 (16:20 +1000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 18 Sep 2018 09:17:06 +0000 (11:17 +0200)
commit6be84cadf9a55b8b1ac95dcbb829d935d87cb9eb
tree4c8eb1e30d244ce15b4f01142b9bad38bc4e43d0
parent8bbb09e07aafd6fc2956db80559df7775ec469dd
drm: fix drm_drv_uses_atomic_modeset on non modesetting drivers.

vgem seems to oops on the intel CI due to the vgem debugfs init
hitting this path now.

Check if we have mode_config funcs before checking one.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180918062018.24942-1-airlied@gmail.com
include/drm/drm_drv.h