Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/
Ddrm_client.c371 struct drm_mode_fb_cmd fb_req = { }; in drm_client_buffer_addfb() local
376 fb_req.bpp = drm_format_info_bpp(info, 0); 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()