search for: bochsfb_mmap

Displaying 2 results from an estimated 2 matches for "bochsfb_mmap".

Did you mean: bochs_mmap
2018 Dec 19
0
[PATCH 13/14] drm/bochs: drop old fbdev emulation code
...gpu/drm/bochs/bochs_fbdev.c b/drivers/gpu/drm/bochs/bochs_fbdev.c index 92feb817ff..7cac3f5253 100644 --- a/drivers/gpu/drm/bochs/bochs_fbdev.c +++ b/drivers/gpu/drm/bochs/bochs_fbdev.c @@ -11,132 +11,6 @@ /* ---------------------------------------------------------------------- */ -static int bochsfb_mmap(struct fb_info *info, - struct vm_area_struct *vma) -{ - struct drm_fb_helper *fb_helper = info->par; - struct bochs_bo *bo = gem_to_bochs_bo(fb_helper->fb->obj[0]); - - return ttm_fbdev_mmap(vma, &bo->bo); -} - -static struct fb_ops bochsfb_ops = { - .owner = THIS_MODULE, - DRM_F...
2018 Sep 05
0
[PATCH] bochs: convert to drm_fb_helper_fbdev_setup/teardown
...+ b/drivers/gpu/drm/bochs/bochs_fbdev.c > @@ -6,6 +6,7 @@ > */ > > #include "bochs.h" > +#include <drm/drm_gem_framebuffer_helper.h> > > /* ---------------------------------------------------------------------- */ > > @@ -13,9 +14,7 @@ static int bochsfb_mmap(struct fb_info *info, > struct vm_area_struct *vma) > { > struct drm_fb_helper *fb_helper = info->par; > - struct bochs_device *bochs = > - container_of(fb_helper, struct bochs_device, fb.helper); > - struct bochs_bo *bo = gem_to_bochs_bo(bochs->fb.gfb.obj); > + s...