Lines Matching full:fb
39 struct drm_framebuffer *fb; in vkms_wb_atomic_check() local
43 if (!conn_state->writeback_job || !conn_state->writeback_job->fb) in vkms_wb_atomic_check()
52 fb = conn_state->writeback_job->fb; in vkms_wb_atomic_check()
53 if (fb->width != mode->hdisplay || fb->height != mode->vdisplay) { in vkms_wb_atomic_check()
55 fb->width, fb->height); in vkms_wb_atomic_check()
80 if (!job->fb) in vkms_wb_prepare_job()
87 ret = drm_gem_fb_vmap(job->fb, vkmsjob->wb_frame_info.map, vkmsjob->data); in vkms_wb_prepare_job()
93 vkmsjob->wb_frame_info.fb = job->fb; in vkms_wb_prepare_job()
94 drm_framebuffer_get(vkmsjob->wb_frame_info.fb); in vkms_wb_prepare_job()
111 if (!job->fb) in vkms_wb_cleanup_job()
114 drm_gem_fb_vunmap(job->fb, vkmsjob->wb_frame_info.map); in vkms_wb_cleanup_job()
116 drm_framebuffer_put(vkmsjob->wb_frame_info.fb); in vkms_wb_cleanup_job()
118 vkmsdev = drm_device_to_vkms_device(job->fb->dev); in vkms_wb_cleanup_job()
133 struct drm_framebuffer *fb = connector_state->writeback_job->fb; in vkms_wb_atomic_commit() local
138 u32 wb_format = fb->format->format; in vkms_wb_atomic_commit()
153 wb_frame_info->offset = fb->offsets[0]; in vkms_wb_atomic_commit()
154 wb_frame_info->pitch = fb->pitches[0]; in vkms_wb_atomic_commit()
155 wb_frame_info->cpp = fb->format->cpp[0]; in vkms_wb_atomic_commit()