From: jsg Date: Mon, 17 Jun 2024 07:24:10 +0000 (+0000) Subject: drm/fbdev-generic: Do not set physical framebuffer address X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=31efa5c584801920974081af779c2b607fc9dca9;p=openbsd drm/fbdev-generic: Do not set physical framebuffer address From Thomas Zimmermann bd2ad553f18c43acd57d1ea46c59a1ecd860cea6 in linux-6.6.y/6.6.34 87cb4a612a89690b123e68f6602d9f6581b03597 in mainline linux --- diff --git a/sys/dev/pci/drm/drm_fbdev_generic.c b/sys/dev/pci/drm/drm_fbdev_generic.c index 7c4dc37322d..a6d23eea02e 100644 --- a/sys/dev/pci/drm/drm_fbdev_generic.c +++ b/sys/dev/pci/drm/drm_fbdev_generic.c @@ -122,7 +122,6 @@ static int drm_fbdev_generic_helper_fb_probe(struct drm_fb_helper *fb_helper, /* screen */ info->flags |= FBINFO_VIRTFB | FBINFO_READS_FAST; info->screen_buffer = screen_buffer; - info->fix.smem_start = page_to_phys(vmalloc_to_page(info->screen_buffer)); info->fix.smem_len = screen_size; #ifdef notyet