Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/
Ddrm_client.c398 struct drm_mode_fb_cmd fb_req = { }; in drm_client_buffer_addfb() local
403 fb_req.bpp = drm_format_info_bpp(info, 0); in drm_client_buffer_addfb()
404 fb_req.depth = info->depth; in drm_client_buffer_addfb()
405 fb_req.width = width; in drm_client_buffer_addfb()
406 fb_req.height = height; in drm_client_buffer_addfb()
407 fb_req.handle = handle; in drm_client_buffer_addfb()
408 fb_req.pitch = buffer->pitch; in drm_client_buffer_addfb()
410 ret = drm_mode_addfb(client->dev, &fb_req, client->file); in drm_client_buffer_addfb()
414 buffer->fb = drm_framebuffer_lookup(client->dev, buffer->client->file, fb_req.fb_id); in drm_client_buffer_addfb()