diff options
author | Joshua Stein <jcs@cvs.openbsd.org> | 2019-07-02 15:26:08 +0000 |
---|---|---|
committer | Joshua Stein <jcs@cvs.openbsd.org> | 2019-07-02 15:26:08 +0000 |
commit | 886a4ce8ea9348dd1574209c8ca719f9846b5461 (patch) | |
tree | b6b75d884a21e7aaa7ccaec6c67dacdcde255f1b /sys/dev/pci | |
parent | 820ec03ac2aebbe72a79a1d7273bac1cecaa7fe6 (diff) |
re-add framebuffer size change from 1.4 that was lost in the big
update
ok jsg
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/drm/i915/intel_fbdev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/i915/intel_fbdev.c b/sys/dev/pci/drm/i915/intel_fbdev.c index f6b262fafda..7223bf95bb7 100644 --- a/sys/dev/pci/drm/i915/intel_fbdev.c +++ b/sys/dev/pci/drm/i915/intel_fbdev.c @@ -206,8 +206,10 @@ static int intelfb_create(struct drm_fb_helper *helper, } else { DRM_DEBUG_KMS("re-using BIOS fb\n"); prealloc = true; +#ifdef __linux__ sizes->fb_width = intel_fb->base.width; sizes->fb_height = intel_fb->base.height; +#endif } mutex_lock(&dev->struct_mutex); |