search for: qxl_fb_find_or_create_singl

Displaying 4 results from an estimated 4 matches for "qxl_fb_find_or_create_singl".

2018 Sep 12
0
[PATCH] qxl: refactor to use drm_fb_helper_fbdev_setup
...dirty callback is preserved as it is necessary to trigger update > commands in the hw (the screen stays black otherwise). > - No idea when .create_handle in drm_framebuffer_funcs is used, but use > the same drm_gem_fb_create_handle to match drm_gem_fb_funcs. > - I don't know why qxl_fb_find_or_create_single used to check for an > existing framebuffer and removed that check to match other drivers. > - Use of drm_fb_helper_fbdev_teardown also requires "info->fbdefio" to > be dynamically allocated. Replace the existing defio config by > drm_fb_helper_defio_init to accomoda...
2017 Aug 08
5
[PATCH libdrm] drm: Remove create_handle() drm_framebuffer "virtual".
...DRM_INFO("fb mappable at 0x%lX, size %lu\n", info->fix.smem_start, (unsigned long)info->screen_size); DRM_INFO("fb: depth %d, pitch %d, width %d, height %d\n", fb->format->depth, fb->pitches[0], fb->width, fb->height); @@ -347,17 +347,17 @@ static int qxl_fb_find_or_create_single( static int qxl_fbdev_destroy(struct drm_device *dev, struct qxl_fbdev *qfbdev) { - struct qxl_framebuffer *qfb = &qfbdev->qfb; + struct drm_framebuffer *fb = &qfbdev->fb; drm_fb_helper_unregister_fbi(&qfbdev->helper); - if (qfb->obj) { - qxlfb_destroy_pinned_obj...
2017 Aug 08
5
[PATCH libdrm] drm: Remove create_handle() drm_framebuffer "virtual".
...DRM_INFO("fb mappable at 0x%lX, size %lu\n", info->fix.smem_start, (unsigned long)info->screen_size); DRM_INFO("fb: depth %d, pitch %d, width %d, height %d\n", fb->format->depth, fb->pitches[0], fb->width, fb->height); @@ -347,17 +347,17 @@ static int qxl_fb_find_or_create_single( static int qxl_fbdev_destroy(struct drm_device *dev, struct qxl_fbdev *qfbdev) { - struct qxl_framebuffer *qfb = &qfbdev->qfb; + struct drm_framebuffer *fb = &qfbdev->fb; drm_fb_helper_unregister_fbi(&qfbdev->helper); - if (qfb->obj) { - qxlfb_destroy_pinned_obj...
2017 Aug 08
5
[PATCH libdrm] drm: Remove create_handle() drm_framebuffer "virtual".
...DRM_INFO("fb mappable at 0x%lX, size %lu\n", info->fix.smem_start, (unsigned long)info->screen_size); DRM_INFO("fb: depth %d, pitch %d, width %d, height %d\n", fb->format->depth, fb->pitches[0], fb->width, fb->height); @@ -347,17 +347,17 @@ static int qxl_fb_find_or_create_single( static int qxl_fbdev_destroy(struct drm_device *dev, struct qxl_fbdev *qfbdev) { - struct qxl_framebuffer *qfb = &qfbdev->qfb; + struct drm_framebuffer *fb = &qfbdev->fb; drm_fb_helper_unregister_fbi(&qfbdev->helper); - if (qfb->obj) { - qxlfb_destroy_pinned_obj...