Searched refs:fb_req (Results 1 – 1 of 1) sorted by relevance
371 struct drm_mode_fb_cmd fb_req = { }; in drm_client_buffer_addfb() local376 fb_req.bpp = info->cpp[0] * 8; in drm_client_buffer_addfb()377 fb_req.depth = info->depth; in drm_client_buffer_addfb()378 fb_req.width = width; in drm_client_buffer_addfb()379 fb_req.height = height; in drm_client_buffer_addfb()380 fb_req.handle = buffer->handle; in drm_client_buffer_addfb()381 fb_req.pitch = buffer->pitch; in drm_client_buffer_addfb()383 ret = drm_mode_addfb(client->dev, &fb_req, client->file); in drm_client_buffer_addfb()387 buffer->fb = drm_framebuffer_lookup(client->dev, buffer->client->file, fb_req.fb_id); in drm_client_buffer_addfb()