diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-04-30 01:45:05 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-04-30 01:45:05 +0000 |
commit | a5d052e4e7e7e89c50d1286ac7536a5ad53f2e47 (patch) | |
tree | b49483feddb7907f902b2cdd9b465578ddb1032c | |
parent | d27fac0ea6d8f135821a53cf35893d80de612921 (diff) |
Convert a linux specific test for master in currently disabled code.
-rw-r--r-- | sys/dev/pci/drm/drm_fb_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/drm_fb_helper.c b/sys/dev/pci/drm/drm_fb_helper.c index 785ed969911..63897e9f5ee 100644 --- a/sys/dev/pci/drm/drm_fb_helper.c +++ b/sys/dev/pci/drm/drm_fb_helper.c @@ -2007,7 +2007,7 @@ static int drm_fb_helper_single_fb_probe(struct drm_fb_helper *fb_helper, /* First time: disable all crtc's.. */ #ifdef notyet /* XXX calling this hangs boot with no connected outputs */ - if (!fb_helper->deferred_setup /* && !READ_ONCE(fb_helper->dev->master) */) + if (!fb_helper->deferred_setup /* && SPLAY_EMPTY(fb_helper->dev->files) */) restore_fbdev_mode(fb_helper); #endif return -EAGAIN; |