[PATCH v4 12/19] drm/bochs: Convert bochs driver to VRAM MM

2019-05-06 Thread Thomas Zimmermann
The data structure |struct drm_vram_mm| and its helpers replace bochs' TTM-based memory manager. It's the same implementation; except for the type names. v4: * don't select DRM_TTM or DRM_VRAM_MM_HELPER v3: * use drm_gem_vram_mm_funcs * convert driver to drm_device-based in

Re: [PATCH v4 12/19] drm/bochs: Convert bochs driver to VRAM MM

2019-05-06 Thread Gerd Hoffmann
Hi, > static const struct file_operations bochs_fops = { > .owner = THIS_MODULE, > - .open = drm_open, > - .release= drm_release, > - .unlocked_ioctl = drm_ioctl, > - .compat_ioctl = drm_compat_ioctl, > - .poll = drm_poll, > -

Re: [PATCH v4 12/19] drm/bochs: Convert bochs driver to VRAM MM

2019-05-06 Thread Thomas Zimmermann
Hi Am 06.05.19 um 14:40 schrieb Gerd Hoffmann: > Hi, > >> static const struct file_operations bochs_fops = { >> .owner = THIS_MODULE, >> -.open = drm_open, >> -.release= drm_release, >> -.unlocked_ioctl = drm_ioctl, >> -.compat_ioctl = drm_comp