drm/fbdev-generic: Do not set physical framebuffer address
authorjsg <jsg@openbsd.org>
Mon, 17 Jun 2024 07:24:10 +0000 (07:24 +0000)
committerjsg <jsg@openbsd.org>
Mon, 17 Jun 2024 07:24:10 +0000 (07:24 +0000)
From Thomas Zimmermann
bd2ad553f18c43acd57d1ea46c59a1ecd860cea6 in linux-6.6.y/6.6.34
87cb4a612a89690b123e68f6602d9f6581b03597 in mainline linux

sys/dev/pci/drm/drm_fbdev_generic.c

index 7c4dc37..a6d23ee 100644 (file)
@@ -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