Home
last modified time | relevance | path

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

12345678910

/Linux-v6.1/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.h11 struct drm_framebuffer;
18 struct drm_gem_object *drm_gem_fb_get_obj(struct drm_framebuffer *fb,
20 void drm_gem_fb_destroy(struct drm_framebuffer *fb);
21 int drm_gem_fb_create_handle(struct drm_framebuffer *fb, struct drm_file *file,
25 struct drm_framebuffer *fb,
29 struct drm_framebuffer *
33 struct drm_framebuffer *
36 struct drm_framebuffer *
40 int drm_gem_fb_vmap(struct drm_framebuffer *fb, struct iosys_map *map,
42 void drm_gem_fb_vunmap(struct drm_framebuffer *fb, struct iosys_map *map);
[all …]
Ddrm_format_helper.h13 struct drm_framebuffer;
22 const struct iosys_map *src, const struct drm_framebuffer *fb,
25 const struct iosys_map *src, const struct drm_framebuffer *fb,
28 const struct iosys_map *src, const struct drm_framebuffer *fb,
31 const struct iosys_map *src, const struct drm_framebuffer *fb,
34 const struct iosys_map *src, const struct drm_framebuffer *fb,
37 const struct iosys_map *src, const struct drm_framebuffer *fb,
40 const struct iosys_map *src, const struct drm_framebuffer *fb,
44 const struct iosys_map *src, const struct drm_framebuffer *fb,
48 const struct iosys_map *src, const struct drm_framebuffer *fb,
Ddrm_fb_dma_helper.h8 struct drm_framebuffer;
11 struct drm_gem_dma_object *drm_fb_dma_get_gem_obj(struct drm_framebuffer *fb,
14 dma_addr_t drm_fb_dma_get_gem_addr(struct drm_framebuffer *fb,
/Linux-v6.1/drivers/gpu/drm/i915/display/
Dintel_fb.h14 struct drm_framebuffer;
36 bool intel_fb_is_ccs_aux_plane(const struct drm_framebuffer *fb, int color_plane);
37 int intel_fb_rc_ccs_cc_plane(const struct drm_framebuffer *fb);
50 bool is_surface_linear(const struct drm_framebuffer *fb, int color_plane);
52 int main_to_ccs_plane(const struct drm_framebuffer *fb, int main_plane);
53 int skl_ccs_to_main_plane(const struct drm_framebuffer *fb, int ccs_plane);
54 int skl_main_to_aux_plane(const struct drm_framebuffer *fb, int main_plane);
57 unsigned int intel_tile_width_bytes(const struct drm_framebuffer *fb, int color_plane);
58 unsigned int intel_tile_height(const struct drm_framebuffer *fb, int color_plane);
59 unsigned int intel_tile_row_size(const struct drm_framebuffer *fb, int color_plane);
[all …]
Dintel_fb.c460 bool intel_fb_is_ccs_aux_plane(const struct drm_framebuffer *fb, int color_plane) in intel_fb_is_ccs_aux_plane()
475 static bool intel_fb_is_gen12_ccs_aux_plane(const struct drm_framebuffer *fb, int color_plane) in intel_fb_is_gen12_ccs_aux_plane()
491 int intel_fb_rc_ccs_cc_plane(const struct drm_framebuffer *fb) in intel_fb_rc_ccs_cc_plane()
503 static bool is_gen12_ccs_cc_plane(const struct drm_framebuffer *fb, int color_plane) in is_gen12_ccs_cc_plane()
508 static bool is_semiplanar_uv_plane(const struct drm_framebuffer *fb, int color_plane) in is_semiplanar_uv_plane()
514 bool is_surface_linear(const struct drm_framebuffer *fb, int color_plane) in is_surface_linear()
521 int main_to_ccs_plane(const struct drm_framebuffer *fb, int main_plane) in main_to_ccs_plane()
529 int skl_ccs_to_main_plane(const struct drm_framebuffer *fb, int ccs_plane) in skl_ccs_to_main_plane()
549 int skl_main_to_aux_plane(const struct drm_framebuffer *fb, int main_plane) in skl_main_to_aux_plane()
569 intel_tile_width_bytes(const struct drm_framebuffer *fb, int color_plane) in intel_tile_width_bytes()
[all …]
Dintel_fb_pin.h11 struct drm_framebuffer;
17 intel_pin_and_fence_fb_obj(struct drm_framebuffer *fb,
/Linux-v6.1/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,
32 bool omap_framebuffer_supports_rotation(struct drm_framebuffer *fb);
33 void omap_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m);
Domap_fb.c52 struct drm_framebuffer base;
60 static int omap_framebuffer_dirty(struct drm_framebuffer *fb, in omap_framebuffer_dirty()
84 static u32 get_linear_addr(struct drm_framebuffer *fb, in get_linear_addr()
98 bool omap_framebuffer_supports_rotation(struct drm_framebuffer *fb) in omap_framebuffer_supports_rotation()
135 void omap_framebuffer_update_scanout(struct drm_framebuffer *fb, in omap_framebuffer_update_scanout()
257 int omap_framebuffer_pin(struct drm_framebuffer *fb) in omap_framebuffer_pin()
297 void omap_framebuffer_unpin(struct drm_framebuffer *fb) in omap_framebuffer_unpin()
321 void omap_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m) in omap_framebuffer_describe()
336 struct drm_framebuffer *omap_framebuffer_create(struct drm_device *dev, in omap_framebuffer_create()
343 struct drm_framebuffer *fb; in omap_framebuffer_create()
[all …]
/Linux-v6.1/drivers/gpu/drm/msm/
Dmsm_fb.c20 struct drm_framebuffer base;
32 static struct drm_framebuffer *msm_framebuffer_init(struct drm_device *dev,
35 static int msm_framebuffer_dirtyfb(struct drm_framebuffer *fb, in msm_framebuffer_dirtyfb()
59 void msm_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m) in msm_framebuffer_describe()
78 int msm_framebuffer_prepare(struct drm_framebuffer *fb, in msm_framebuffer_prepare()
101 void msm_framebuffer_cleanup(struct drm_framebuffer *fb, in msm_framebuffer_cleanup()
118 uint32_t msm_framebuffer_iova(struct drm_framebuffer *fb, in msm_framebuffer_iova()
125 struct drm_gem_object *msm_framebuffer_bo(struct drm_framebuffer *fb, int plane) in msm_framebuffer_bo()
130 const struct msm_format *msm_framebuffer_format(struct drm_framebuffer *fb) in msm_framebuffer_format()
136 struct drm_framebuffer *msm_framebuffer_create(struct drm_device *dev, in msm_framebuffer_create()
[all …]
Dmsm_drv.h282 int msm_framebuffer_prepare(struct drm_framebuffer *fb,
284 void msm_framebuffer_cleanup(struct drm_framebuffer *fb,
286 uint32_t msm_framebuffer_iova(struct drm_framebuffer *fb,
288 struct drm_gem_object *msm_framebuffer_bo(struct drm_framebuffer *fb, int plane);
289 const struct msm_format *msm_framebuffer_format(struct drm_framebuffer *fb);
290 struct drm_framebuffer *msm_framebuffer_create(struct drm_device *dev,
292 struct drm_framebuffer * msm_alloc_stolen_fb(struct drm_device *dev,
441 void msm_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m);
/Linux-v6.1/drivers/gpu/drm/
Ddrm_gem_framebuffer_helper.c53 struct drm_gem_object *drm_gem_fb_get_obj(struct drm_framebuffer *fb, in drm_gem_fb_get_obj()
69 struct drm_framebuffer *fb, in drm_gem_fb_init()
97 void drm_gem_fb_destroy(struct drm_framebuffer *fb) in drm_gem_fb_destroy()
122 int drm_gem_fb_create_handle(struct drm_framebuffer *fb, struct drm_file *file, in drm_gem_fb_create_handle()
152 struct drm_framebuffer *fb, in drm_gem_fb_init_with_funcs()
225 struct drm_framebuffer *
230 struct drm_framebuffer *fb; in drm_gem_fb_create_with_funcs()
274 struct drm_framebuffer *
312 struct drm_framebuffer *
344 int drm_gem_fb_vmap(struct drm_framebuffer *fb, struct iosys_map *map, 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.c46 const void *vaddr, const struct drm_framebuffer *fb, in __drm_fb_xfrm()
89 const void *vaddr, const struct drm_framebuffer *fb, in __drm_fb_xfrm_toio()
135 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_xfrm()
174 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_memcpy()
251 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_swab()
311 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_xrgb8888_to_rgb332()
380 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_xrgb8888_to_rgb565()
435 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_xrgb8888_to_rgb888()
467 const struct drm_framebuffer *fb, in drm_fb_rgb565_to_xrgb8888()
495 const struct drm_framebuffer *fb, in drm_fb_rgb888_to_xrgb8888()
[all …]
/Linux-v6.1/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-v6.1/drivers/gpu/drm/rockchip/
Drockchip_drm_fb.c28 static struct drm_framebuffer *
32 struct drm_framebuffer *fb; in rockchip_fb_alloc()
61 static struct drm_framebuffer *
109 struct drm_framebuffer *
114 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-v6.1/drivers/gpu/drm/exynos/
Dexynos_drm_fb.c58 struct drm_framebuffer *
64 struct drm_framebuffer *fb; in exynos_drm_framebuffer_init()
96 static struct drm_framebuffer *
102 struct drm_framebuffer *fb; in exynos_user_fb_create()
143 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-v6.1/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-v6.1/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()
128 struct drm_framebuffer *fb = fb_helper->fb; in psbfb_mmap()
167 struct drm_framebuffer *fb, in psb_framebuffer_init()
207 static struct drm_framebuffer *psb_framebuffer_create in psb_framebuffer_create()
212 struct drm_framebuffer *fb; in psb_framebuffer_create()
241 struct drm_framebuffer *fb; in psbfb_create()
327 static struct drm_framebuffer *psb_user_framebuffer_create in psb_user_framebuffer_create()
332 struct drm_framebuffer *fb; in psb_user_framebuffer_create()
384 struct drm_framebuffer *fb = fb_helper->fb; in psb_fbdev_destroy()
/Linux-v6.1/drivers/gpu/drm/tegra/
Dfb.c27 struct tegra_bo *tegra_fb_get_plane(struct drm_framebuffer *framebuffer, in tegra_fb_get_plane()
33 bool tegra_fb_is_bottom_up(struct drm_framebuffer *framebuffer) in tegra_fb_is_bottom_up()
43 int tegra_fb_get_tiling(struct drm_framebuffer *framebuffer, in tegra_fb_get_tiling()
111 static struct drm_framebuffer *tegra_fb_alloc(struct drm_device *drm, in tegra_fb_alloc()
116 struct drm_framebuffer *fb; in tegra_fb_alloc()
140 struct drm_framebuffer *tegra_fb_create(struct drm_device *drm, in tegra_fb_create()
147 struct drm_framebuffer *fb; in tegra_fb_create()
223 struct drm_framebuffer *fb; in tegra_fbdev_probe()
Ddrm.h35 struct drm_framebuffer *fb;
194 struct tegra_bo *tegra_fb_get_plane(struct drm_framebuffer *framebuffer,
196 bool tegra_fb_is_bottom_up(struct drm_framebuffer *framebuffer);
197 int tegra_fb_get_tiling(struct drm_framebuffer *framebuffer,
199 struct drm_framebuffer *tegra_fb_create(struct drm_device *drm,
/Linux-v6.1/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-v6.1/drivers/gpu/drm/gud/
Dgud_pipe.c55 void *src, struct drm_framebuffer *fb, in gud_xrgb8888_to_r124()
104 void *src, struct drm_framebuffer *fb, in gud_xrgb8888_to_color()
154 static int gud_prep_flush(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_prep_flush()
287 static int gud_flush_rect(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_flush_rect()
344 static void gud_retry_failed_flush(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_retry_failed_flush()
371 struct drm_framebuffer *fb; in gud_flush_work()
429 static void gud_fb_queue_damage(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_fb_queue_damage()
432 struct drm_framebuffer *old_fb = NULL; in gud_fb_queue_damage()
460 struct drm_framebuffer *old_fb = old_plane_state->fb; in gud_pipe_check()
462 struct drm_framebuffer *fb = new_plane_state->fb; in gud_pipe_check()
[all …]

12345678910