Home
last modified time | relevance | path

Searched refs:drm_framebuffer (Results 1 – 25 of 226) sorted by relevance

12345678910

/Linux-v5.15/include/drm/
Ddrm_framebuffer.h36 struct drm_framebuffer;
53 void (*destroy)(struct drm_framebuffer *framebuffer);
73 int (*create_handle)(struct drm_framebuffer *fb,
97 int (*dirty)(struct drm_framebuffer *framebuffer,
117 struct drm_framebuffer { struct
216 #define obj_to_fb(x) container_of(x, struct drm_framebuffer, base) argument
219 struct drm_framebuffer *fb,
221 struct drm_framebuffer *drm_framebuffer_lookup(struct drm_device *dev,
224 void drm_framebuffer_remove(struct drm_framebuffer *fb);
225 void drm_framebuffer_cleanup(struct drm_framebuffer *fb);
[all …]
Ddrm_gem_framebuffer_helper.h13 struct drm_framebuffer;
20 struct drm_gem_object *drm_gem_fb_get_obj(struct drm_framebuffer *fb,
22 void drm_gem_fb_destroy(struct drm_framebuffer *fb);
23 int drm_gem_fb_create_handle(struct drm_framebuffer *fb, struct drm_file *file,
27 struct drm_framebuffer *fb,
31 struct drm_framebuffer *
35 struct drm_framebuffer *
38 struct drm_framebuffer *
42 int drm_gem_fb_vmap(struct drm_framebuffer *fb,
45 void drm_gem_fb_vunmap(struct drm_framebuffer *fb,
[all …]
Ddrm_format_helper.h9 struct drm_framebuffer;
12 void drm_fb_memcpy(void *dst, void *vaddr, struct drm_framebuffer *fb,
15 struct drm_framebuffer *fb,
17 void drm_fb_swab(void *dst, void *src, struct drm_framebuffer *fb,
20 struct drm_framebuffer *fb,
23 void *vaddr, struct drm_framebuffer *fb,
26 void *vaddr, struct drm_framebuffer *fb,
28 void drm_fb_xrgb8888_to_gray8(u8 *dst, void *vaddr, struct drm_framebuffer *fb,
33 struct drm_framebuffer *fb,
37 struct drm_framebuffer *fb);
Ddrm_fb_cma_helper.h8 struct drm_framebuffer;
11 struct drm_gem_cma_object *drm_fb_cma_get_gem_obj(struct drm_framebuffer *fb,
14 dma_addr_t drm_fb_cma_get_gem_addr(struct drm_framebuffer *fb,
/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_fb.h11 struct drm_framebuffer;
19 bool is_ccs_plane(const struct drm_framebuffer *fb, int plane);
20 bool is_gen12_ccs_plane(const struct drm_framebuffer *fb, int plane);
21 bool is_gen12_ccs_cc_plane(const struct drm_framebuffer *fb, int plane);
22 bool is_semiplanar_uv_plane(const struct drm_framebuffer *fb, int color_plane);
24 bool is_surface_linear(const struct drm_framebuffer *fb, int color_plane);
26 int main_to_ccs_plane(const struct drm_framebuffer *fb, int main_plane);
27 int skl_ccs_to_main_plane(const struct drm_framebuffer *fb, int ccs_plane);
28 int skl_main_to_aux_plane(const struct drm_framebuffer *fb, int main_plane);
31 unsigned int intel_tile_height(const struct drm_framebuffer *fb, int color_plane);
[all …]
Dintel_fb.c14 bool is_ccs_plane(const struct drm_framebuffer *fb, int plane) in is_ccs_plane()
22 bool is_gen12_ccs_plane(const struct drm_framebuffer *fb, int plane) in is_gen12_ccs_plane()
27 bool is_gen12_ccs_cc_plane(const struct drm_framebuffer *fb, int plane) in is_gen12_ccs_cc_plane()
33 bool is_semiplanar_uv_plane(const struct drm_framebuffer *fb, int color_plane) in is_semiplanar_uv_plane()
39 bool is_surface_linear(const struct drm_framebuffer *fb, int color_plane) in is_surface_linear()
45 int main_to_ccs_plane(const struct drm_framebuffer *fb, int main_plane) in main_to_ccs_plane()
53 int skl_ccs_to_main_plane(const struct drm_framebuffer *fb, int ccs_plane) in skl_ccs_to_main_plane()
64 int skl_main_to_aux_plane(const struct drm_framebuffer *fb, int main_plane) in skl_main_to_aux_plane()
82 unsigned int intel_tile_height(const struct drm_framebuffer *fb, int color_plane) in intel_tile_height()
92 static void intel_tile_dims(const struct drm_framebuffer *fb, int color_plane, in intel_tile_dims()
[all …]
Dskl_universal_plane.c310 const struct drm_framebuffer *fb = plane_state->hw.fb; in glk_plane_ratio()
337 const struct drm_framebuffer *fb = plane_state->hw.fb; in skl_plane_ratio()
359 static int skl_plane_max_width(const struct drm_framebuffer *fb, in skl_plane_max_width()
398 static int glk_plane_max_width(const struct drm_framebuffer *fb, in glk_plane_max_width()
426 static int icl_plane_min_width(const struct drm_framebuffer *fb, in icl_plane_min_width()
466 static int icl_plane_max_width(const struct drm_framebuffer *fb, in icl_plane_max_width()
473 static int skl_plane_max_height(const struct drm_framebuffer *fb, in skl_plane_max_height()
480 static int icl_plane_max_height(const struct drm_framebuffer *fb, in icl_plane_max_height()
615 static unsigned int skl_plane_stride_mult(const struct drm_framebuffer *fb, in skl_plane_stride_mult()
633 const struct drm_framebuffer *fb = plane_state->hw.fb; in skl_plane_stride()
[all …]
/Linux-v5.15/drivers/gpu/drm/omapdrm/
Domap_fb.h15 struct drm_framebuffer;
22 struct drm_framebuffer *omap_framebuffer_create(struct drm_device *dev,
24 struct drm_framebuffer *omap_framebuffer_init(struct drm_device *dev,
26 int omap_framebuffer_pin(struct drm_framebuffer *fb);
27 void omap_framebuffer_unpin(struct drm_framebuffer *fb);
28 void omap_framebuffer_update_scanout(struct drm_framebuffer *fb,
30 bool omap_framebuffer_supports_rotation(struct drm_framebuffer *fb);
31 void omap_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m);
Domap_fb.c50 struct drm_framebuffer base;
58 static int omap_framebuffer_dirty(struct drm_framebuffer *fb, in omap_framebuffer_dirty()
82 static u32 get_linear_addr(struct drm_framebuffer *fb, in get_linear_addr()
96 bool omap_framebuffer_supports_rotation(struct drm_framebuffer *fb) in omap_framebuffer_supports_rotation()
133 void omap_framebuffer_update_scanout(struct drm_framebuffer *fb, in omap_framebuffer_update_scanout()
224 int omap_framebuffer_pin(struct drm_framebuffer *fb) in omap_framebuffer_pin()
264 void omap_framebuffer_unpin(struct drm_framebuffer *fb) in omap_framebuffer_unpin()
288 void omap_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m) in omap_framebuffer_describe()
303 struct drm_framebuffer *omap_framebuffer_create(struct drm_device *dev, in omap_framebuffer_create()
310 struct drm_framebuffer *fb; in omap_framebuffer_create()
[all …]
/Linux-v5.15/drivers/gpu/drm/msm/
Dmsm_fb.c19 struct drm_framebuffer base;
24 static struct drm_framebuffer *msm_framebuffer_init(struct drm_device *dev,
34 void msm_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m) in msm_framebuffer_describe()
56 int msm_framebuffer_prepare(struct drm_framebuffer *fb, in msm_framebuffer_prepare()
72 void msm_framebuffer_cleanup(struct drm_framebuffer *fb, in msm_framebuffer_cleanup()
81 uint32_t msm_framebuffer_iova(struct drm_framebuffer *fb, in msm_framebuffer_iova()
89 struct drm_gem_object *msm_framebuffer_bo(struct drm_framebuffer *fb, int plane) in msm_framebuffer_bo()
94 const struct msm_format *msm_framebuffer_format(struct drm_framebuffer *fb) in msm_framebuffer_format()
100 struct drm_framebuffer *msm_framebuffer_create(struct drm_device *dev, in msm_framebuffer_create()
106 struct drm_framebuffer *fb; in msm_framebuffer_create()
[all …]
Dmsm_drv.h309 int msm_framebuffer_prepare(struct drm_framebuffer *fb,
311 void msm_framebuffer_cleanup(struct drm_framebuffer *fb,
313 uint32_t msm_framebuffer_iova(struct drm_framebuffer *fb,
315 struct drm_gem_object *msm_framebuffer_bo(struct drm_framebuffer *fb, int plane);
316 const struct msm_format *msm_framebuffer_format(struct drm_framebuffer *fb);
317 struct drm_framebuffer *msm_framebuffer_create(struct drm_device *dev,
319 struct drm_framebuffer * msm_alloc_stolen_fb(struct drm_device *dev,
450 void msm_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m);
/Linux-v5.15/drivers/gpu/drm/
Ddrm_gem_framebuffer_helper.c50 struct drm_gem_object *drm_gem_fb_get_obj(struct drm_framebuffer *fb, in drm_gem_fb_get_obj()
62 struct drm_framebuffer *fb, in drm_gem_fb_init()
90 void drm_gem_fb_destroy(struct drm_framebuffer *fb) in drm_gem_fb_destroy()
115 int drm_gem_fb_create_handle(struct drm_framebuffer *fb, struct drm_file *file, in drm_gem_fb_create_handle()
145 struct drm_framebuffer *fb, in drm_gem_fb_init_with_funcs()
218 struct drm_framebuffer *
223 struct drm_framebuffer *fb; in drm_gem_fb_create_with_funcs()
267 struct drm_framebuffer *
305 struct drm_framebuffer *
334 int drm_gem_fb_vmap(struct drm_framebuffer *fb, in drm_gem_fb_vmap()
[all …]
Ddrm_framebuffer.c78 const struct drm_framebuffer *fb) in drm_framebuffer_check_src_coords()
286 struct drm_framebuffer *
292 struct drm_framebuffer *fb; in drm_internal_framebuffer_create()
350 struct drm_framebuffer *fb; in drm_mode_addfb2()
404 struct drm_framebuffer *fb = in drm_mode_rmfb_work_fn()
431 struct drm_framebuffer *fb = NULL; in drm_mode_rmfb()
432 struct drm_framebuffer *fbl = NULL; in drm_mode_rmfb()
509 struct drm_framebuffer *fb; in drm_mode_getfb()
571 struct drm_framebuffer *fb; in drm_mode_getfb2_ioctl()
701 struct drm_framebuffer *fb; in drm_mode_dirtyfb_ioctl()
[all …]
Ddrm_format_helper.c36 void drm_fb_memcpy(void *dst, void *vaddr, struct drm_framebuffer *fb, in drm_fb_memcpy()
64 void *vaddr, struct drm_framebuffer *fb, in drm_fb_memcpy_dstclip()
96 void drm_fb_swab(void *dst, void *src, struct drm_framebuffer *fb, in drm_fb_swab()
171 struct drm_framebuffer *fb, in drm_fb_xrgb8888_to_rgb565()
216 void *vaddr, struct drm_framebuffer *fb, in drm_fb_xrgb8888_to_rgb565_dstclip()
268 void *vaddr, struct drm_framebuffer *fb, in drm_fb_xrgb8888_to_rgb888_dstclip()
309 void drm_fb_xrgb8888_to_gray8(u8 *dst, void *vaddr, struct drm_framebuffer *fb, in drm_fb_xrgb8888_to_gray8()
369 struct drm_framebuffer *fb, in drm_fb_blit_rect_dstclip()
422 struct drm_framebuffer *fb) in drm_fb_blit_dstclip()
/Linux-v5.15/drivers/gpu/drm/rcar-du/
Drcar_du_vsp.h15 struct drm_framebuffer;
65 int rcar_du_vsp_map_fb(struct rcar_du_vsp *vsp, struct drm_framebuffer *fb,
67 void rcar_du_vsp_unmap_fb(struct rcar_du_vsp *vsp, struct drm_framebuffer *fb,
81 struct drm_framebuffer *fb, in rcar_du_vsp_map_fb()
87 struct drm_framebuffer *fb, in rcar_du_vsp_unmap_fb()
/Linux-v5.15/drivers/gpu/drm/rockchip/
Drockchip_drm_fb.c27 static struct drm_framebuffer *
31 struct drm_framebuffer *fb; in rockchip_fb_alloc()
60 static struct drm_framebuffer *
108 struct drm_framebuffer *
113 struct drm_framebuffer *fb; in rockchip_drm_framebuffer_init()
Drockchip_drm_fb.h10 struct drm_framebuffer *
14 void rockchip_drm_framebuffer_fini(struct drm_framebuffer *fb);
/Linux-v5.15/drivers/gpu/drm/exynos/
Dexynos_drm_fb.c57 struct drm_framebuffer *
63 struct drm_framebuffer *fb; in exynos_drm_framebuffer_init()
95 static struct drm_framebuffer *
101 struct drm_framebuffer *fb; in exynos_user_fb_create()
142 dma_addr_t exynos_drm_fb_dma_addr(struct drm_framebuffer *fb, int index) in exynos_drm_fb_dma_addr()
Dexynos_drm_fb.h15 struct drm_framebuffer *
21 dma_addr_t exynos_drm_fb_dma_addr(struct drm_framebuffer *fb, int index);
/Linux-v5.15/drivers/gpu/drm/arm/display/komeda/
Dkomeda_framebuffer.c16 static void komeda_fb_destroy(struct drm_framebuffer *fb) in komeda_fb_destroy()
28 static int komeda_fb_create_handle(struct drm_framebuffer *fb, in komeda_fb_create_handle()
43 struct drm_framebuffer *fb = &kfb->base; in komeda_fb_afbc_size_check()
115 struct drm_framebuffer *fb = &kfb->base; in komeda_fb_none_afbc_size_check()
158 struct drm_framebuffer *
211 const struct drm_framebuffer *fb = &kfb->base; in komeda_fb_check_src_coords()
241 struct drm_framebuffer *fb = &kfb->base; in komeda_fb_get_pixel_addr()
270 struct drm_framebuffer *fb = &kfb->base; in komeda_fb_is_layer_supported()
/Linux-v5.15/drivers/gpu/drm/tegra/
Ddrm.h35 struct drm_framebuffer *fb;
183 struct tegra_bo *tegra_fb_get_plane(struct drm_framebuffer *framebuffer,
185 bool tegra_fb_is_bottom_up(struct drm_framebuffer *framebuffer);
186 int tegra_fb_get_tiling(struct drm_framebuffer *framebuffer,
188 struct drm_framebuffer *tegra_fb_create(struct drm_device *drm,
Dfb.c26 struct tegra_bo *tegra_fb_get_plane(struct drm_framebuffer *framebuffer, in tegra_fb_get_plane()
32 bool tegra_fb_is_bottom_up(struct drm_framebuffer *framebuffer) in tegra_fb_is_bottom_up()
42 int tegra_fb_get_tiling(struct drm_framebuffer *framebuffer, in tegra_fb_get_tiling()
110 static struct drm_framebuffer *tegra_fb_alloc(struct drm_device *drm, in tegra_fb_alloc()
115 struct drm_framebuffer *fb; in tegra_fb_alloc()
139 struct drm_framebuffer *tegra_fb_create(struct drm_device *drm, in tegra_fb_create()
146 struct drm_framebuffer *fb; in tegra_fb_create()
222 struct drm_framebuffer *fb; in tegra_fbdev_probe()
/Linux-v5.15/drivers/gpu/drm/gma500/
Dframebuffer.c45 struct drm_framebuffer *fb = fb_helper->fb; in psbfb_setcolreg()
82 struct drm_framebuffer *fb = vma->vm_private_data; in psbfb_vm_fault()
129 struct drm_framebuffer *fb = fb_helper->fb; in psbfb_mmap()
168 struct drm_framebuffer *fb, in psb_framebuffer_init()
208 static struct drm_framebuffer *psb_framebuffer_create in psb_framebuffer_create()
213 struct drm_framebuffer *fb; in psb_framebuffer_create()
267 struct drm_framebuffer *fb; in psbfb_create()
350 static struct drm_framebuffer *psb_user_framebuffer_create in psb_user_framebuffer_create()
355 struct drm_framebuffer *fb; in psb_user_framebuffer_create()
407 struct drm_framebuffer *fb = fb_helper->fb; in psb_fbdev_destroy()
/Linux-v5.15/drivers/gpu/drm/nouveau/
Dnouveau_display.h15 struct drm_framebuffer **pfb);
65 nouveau_framebuffer_get_layout(struct drm_framebuffer *fb, uint32_t *tile_mode,
68 struct drm_framebuffer *
/Linux-v5.15/drivers/gpu/drm/gud/
Dgud_pipe.c55 void *src, struct drm_framebuffer *fb, in gud_xrgb8888_to_r124()
101 void *src, struct drm_framebuffer *fb, in gud_xrgb8888_to_color()
149 static int gud_prep_flush(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_prep_flush()
273 static int gud_flush_rect(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_flush_rect()
330 static void gud_retry_failed_flush(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_retry_failed_flush()
357 struct drm_framebuffer *fb; in gud_flush_work()
415 static void gud_fb_queue_damage(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_fb_queue_damage()
418 struct drm_framebuffer *old_fb = NULL; in gud_fb_queue_damage()
446 struct drm_framebuffer *old_fb = old_plane_state->fb; in gud_pipe_check()
448 struct drm_framebuffer *fb = new_plane_state->fb; in gud_pipe_check()
[all …]

12345678910