diff options
author | 2019-04-30 01:45:04 +0000 | |
---|---|---|
committer | 2019-04-30 01:45:04 +0000 | |
commit | 08220f68875de4e59b9c74a98b70251d13bbac4f (patch) | |
tree | a15f7633b91a584355394970b70aa2506e354a62 | |
parent | Add an equivalent test for master in drm_fb_helper_is_bound() (diff) | |
download | wireguard-openbsd-08220f68875de4e59b9c74a98b70251d13bbac4f.tar.xz wireguard-openbsd-08220f68875de4e59b9c74a98b70251d13bbac4f.zip |
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; |