Lines Matching refs:fb_id
1704 uint32_t __user *fb_id; in drm_mode_getresources() local
1726 fb_id = (uint32_t __user *)(unsigned long)card_res->fb_id_ptr; in drm_mode_getresources()
1728 if (put_user(fb->base.id, fb_id + copied)) { in drm_mode_getresources()
1897 crtc_resp->fb_id = crtc->primary->fb->base.id; in drm_mode_getcrtc()
1899 crtc_resp->fb_id = 0; in drm_mode_getcrtc()
2218 plane_resp->fb_id = plane->fb->base.id; in drm_mode_getplane()
2220 plane_resp->fb_id = 0; in drm_mode_getplane()
2409 if (plane_req->fb_id) { in drm_mode_setplane()
2410 fb = drm_framebuffer_lookup(dev, plane_req->fb_id); in drm_mode_setplane()
2413 plane_req->fb_id); in drm_mode_setplane()
2577 if (crtc_req->fb_id == -1) { in drm_mode_setcrtc()
2587 fb = drm_framebuffer_lookup(dev, crtc_req->fb_id); in drm_mode_setcrtc()
2590 crtc_req->fb_id); in drm_mode_setcrtc()
2954 r.fb_id = or->fb_id; in drm_mode_addfb()
2977 or->fb_id = fb->base.id; in drm_mode_addfb()
3178 r->fb_id = fb->base.id; in drm_mode_addfb2()
3262 fb = drm_framebuffer_lookup(dev, r->fb_id); in drm_mode_getfb()
3327 fb = drm_framebuffer_lookup(dev, r->fb_id); in drm_mode_dirtyfb_ioctl()
4613 fb = drm_framebuffer_lookup(dev, page_flip->fb_id); in drm_mode_page_flip_ioctl()