Lines Matching refs:buffer
52 drm_client_framebuffer_delete(fb_helper->buffer);
69 * This function uses the client API to create a framebuffer backed by a dumb buffer.
76 struct drm_client_buffer *buffer;
88 buffer = drm_client_framebuffer_create(client, sizes->surface_width,
90 if (IS_ERR(buffer))
91 return PTR_ERR(buffer);
93 fb_helper->buffer = buffer;
94 fb_helper->fb = buffer->fb;
96 screen_size = buffer->gem->size;
136 fb_helper->buffer = NULL;
137 drm_client_framebuffer_delete(buffer);
183 struct drm_client_buffer *buffer = fb_helper->buffer;
188 * We have to pin the client buffer to its current location while
189 * flushing the shadow buffer. In the general case, concurrent
190 * modesetting operations could try to move the buffer and would
195 * operations. Nothing else will involve the client buffer's BO. So it
200 ret = drm_client_buffer_vmap(buffer, &map);
207 drm_client_buffer_vunmap(buffer);
314 * uses a shadow buffer in system memory. The implementation blits the shadow
315 * fbdev buffer onto the real buffer in regular intervals.