Lines Matching refs:planes
36 return fb->planes[index]; in tegra_fb_get_plane()
43 if (fb->planes[0]->flags & TEGRA_BO_BOTTOM_UP) in tegra_fb_is_bottom_up()
55 *tiling = fb->planes[0]->tiling; in tegra_fb_get_tiling()
66 struct tegra_bo *bo = fb->planes[i]; in tegra_fb_destroy()
77 kfree(fb->planes); in tegra_fb_destroy()
86 return drm_gem_handle_create(file, &fb->planes[0]->gem, handle); in tegra_fb_create_handle()
96 struct tegra_bo **planes, in tegra_fb_alloc() argument
107 fb->planes = kzalloc(num_planes * sizeof(*planes), GFP_KERNEL); in tegra_fb_alloc()
108 if (!fb->planes) { in tegra_fb_alloc()
118 fb->planes[i] = planes[i]; in tegra_fb_alloc()
124 kfree(fb->planes); in tegra_fb_alloc()
137 struct tegra_bo *planes[4]; in tegra_fb_create() local
166 planes[i] = to_tegra_bo(gem); in tegra_fb_create()
169 fb = tegra_fb_alloc(drm, cmd, planes, i); in tegra_fb_create()
179 drm_gem_object_unreference_unlocked(&planes[i]->gem); in tegra_fb_create()