Home
last modified time | relevance | path

Searched refs:fb_req (Results 1 – 1 of 1) sorted by relevance

/drivers/gpu/drm/
Ddrm_client.c364 struct drm_mode_fb_cmd fb_req = { }; in drm_client_buffer_addfb() local
369 fb_req.bpp = info->cpp[0] * 8; in drm_client_buffer_addfb()
370 fb_req.depth = info->depth; in drm_client_buffer_addfb()
371 fb_req.width = width; in drm_client_buffer_addfb()
372 fb_req.height = height; in drm_client_buffer_addfb()
373 fb_req.handle = buffer->handle; in drm_client_buffer_addfb()
374 fb_req.pitch = buffer->pitch; in drm_client_buffer_addfb()
376 ret = drm_mode_addfb(client->dev, &fb_req, client->file); in drm_client_buffer_addfb()
380 buffer->fb = drm_framebuffer_lookup(client->dev, buffer->client->file, fb_req.fb_id); in drm_client_buffer_addfb()