Lines Matching refs:planes
51 bo = fb->planes[i]; in fb_destroy()
57 free(fb->planes, DRM_MEM_DRIVER); in fb_destroy()
68 rv = drm_gem_handle_create(file, &fb->planes[0]->gem_obj, handle); in fb_create_handle()
89 struct tegra_bo **planes, int num_planes, struct tegra_fb **res_fb) in fb_alloc() argument
96 fb->planes = malloc(num_planes * sizeof(*fb->planes), DRM_MEM_DRIVER, in fb_alloc()
102 fb->planes[i] = planes[i]; in fb_alloc()
107 free(fb->planes, DRM_MEM_DRIVER); in fb_alloc()
220 return (fb->planes[idx]); in tegra_fb_get_plane()
272 struct tegra_bo *planes[4]; in tegra_drm_fb_create() local
301 planes[i] = container_of(gem_obj, struct tegra_bo, gem_obj); in tegra_drm_fb_create()
304 rv = fb_alloc(drm, cmd, planes, nplanes, &fb); in tegra_drm_fb_create()
313 drm_gem_object_unreference_unlocked(&planes[i]->gem_obj); in tegra_drm_fb_create()