Searched refs:fb_req (Results 1 – 1 of 1) sorted by relevance
471 struct drm_mode_fb_cmd2 fb_req = { }; in drm_client_buffer_addfb() local474 fb_req.width = width; in drm_client_buffer_addfb()475 fb_req.height = height; in drm_client_buffer_addfb()476 fb_req.pixel_format = format; in drm_client_buffer_addfb()477 fb_req.handles[0] = handle; in drm_client_buffer_addfb()478 fb_req.pitches[0] = buffer->pitch; in drm_client_buffer_addfb()480 ret = drm_mode_addfb2(client->dev, &fb_req, client->file); in drm_client_buffer_addfb()484 buffer->fb = drm_framebuffer_lookup(client->dev, buffer->client->file, fb_req.fb_id); in drm_client_buffer_addfb()