Home
last modified time | relevance | path

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

12345678910

/linux/include/drm/
H A Ddrm_framebuffer.h37 struct drm_framebuffer;
54 void (*destroy)(struct drm_framebuffer *framebuffer);
74 int (*create_handle)(struct drm_framebuffer *fb,
98 int (*dirty)(struct drm_framebuffer *framebuffer,
107 * struct drm_framebuffer - frame buffer object
120 struct drm_framebuffer { struct
211 #define obj_to_fb(x) container_of(x, struct drm_framebuffer, base) argument
214 struct drm_framebuffer *fb,
216 struct drm_framebuffer *drm_framebuffer_lookup(struct drm_device *dev,
219 void drm_framebuffer_remove(struct drm_framebuffer *f
124 devdrm_framebuffer global() argument
148 funcsdrm_framebuffer global() argument
153 pitchesdrm_framebuffer global() argument
171 offsetsdrm_framebuffer global() argument
178 modifierdrm_framebuffer global() argument
183 widthdrm_framebuffer global() argument
[all...]
H A Ddrm_format_helper.h13 struct drm_framebuffer;
74 const struct iosys_map *src, const struct drm_framebuffer *fb,
77 const struct iosys_map *src, const struct drm_framebuffer *fb,
81 const struct iosys_map *src, const struct drm_framebuffer *fb,
84 const struct iosys_map *src, const struct drm_framebuffer *fb,
87 const struct iosys_map *src, const struct drm_framebuffer *fb,
90 const struct iosys_map *src, const struct drm_framebuffer *fb,
93 const struct iosys_map *src, const struct drm_framebuffer *fb,
96 const struct iosys_map *src, const struct drm_framebuffer *fb,
99 const struct iosys_map *src, const struct drm_framebuffer *f
[all...]
H A Ddrm_gem_framebuffer_helper.h12 struct drm_framebuffer;
19 struct drm_gem_object *drm_gem_fb_get_obj(struct drm_framebuffer *fb,
21 void drm_gem_fb_destroy(struct drm_framebuffer *fb);
22 int drm_gem_fb_create_handle(struct drm_framebuffer *fb, struct drm_file *file,
26 struct drm_framebuffer *fb,
31 struct drm_framebuffer *
36 struct drm_framebuffer *
40 struct drm_framebuffer *
45 int drm_gem_fb_vmap(struct drm_framebuffer *fb, struct iosys_map *map,
47 void drm_gem_fb_vunmap(struct drm_framebuffer *f
[all...]
H A Ddrm_fb_dma_helper.h8 struct drm_framebuffer;
13 struct drm_gem_dma_object *drm_fb_dma_get_gem_obj(struct drm_framebuffer *fb,
16 dma_addr_t drm_fb_dma_get_gem_addr(struct drm_framebuffer *fb,
H A Ddrm_modeset_helper.h30 struct drm_framebuffer;
36 struct drm_framebuffer *fb,
/linux/drivers/gpu/drm/omapdrm/
H A Domap_fb.h15 struct drm_framebuffer;
23 struct drm_framebuffer *omap_framebuffer_create(struct drm_device *dev,
26 struct drm_framebuffer *omap_framebuffer_init(struct drm_device *dev,
29 int omap_framebuffer_pin(struct drm_framebuffer *fb);
30 void omap_framebuffer_unpin(struct drm_framebuffer *fb);
31 void omap_framebuffer_update_scanout(struct drm_framebuffer *fb,
35 bool omap_framebuffer_supports_rotation(struct drm_framebuffer *fb);
36 void omap_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m);
H A Domap_fb.c53 struct drm_framebuffer base;
61 static int omap_framebuffer_dirty(struct drm_framebuffer *fb, in omap_framebuffer_dirty()
85 static u32 get_linear_addr(struct drm_framebuffer *fb, in get_linear_addr()
99 bool omap_framebuffer_supports_rotation(struct drm_framebuffer *fb) in omap_framebuffer_supports_rotation()
136 void omap_framebuffer_update_scanout(struct drm_framebuffer *fb, in omap_framebuffer_update_scanout()
258 int omap_framebuffer_pin(struct drm_framebuffer *fb) in omap_framebuffer_pin()
298 void omap_framebuffer_unpin(struct drm_framebuffer *fb) in omap_framebuffer_unpin()
322 void omap_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m) in omap_framebuffer_describe()
337 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/drivers/gpu/drm/msm/
H A Dmsm_fb.c11 #include <drm/drm_framebuffer.h>
20 struct drm_framebuffer base;
32 static struct drm_framebuffer *msm_framebuffer_init(struct drm_device *dev,
36 static int msm_framebuffer_dirtyfb(struct drm_framebuffer *fb, in msm_framebuffer_dirtyfb()
60 void msm_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m) in msm_framebuffer_describe()
79 int msm_framebuffer_prepare(struct drm_framebuffer *fb, bool needs_dirtyfb) in msm_framebuffer_prepare()
104 void msm_framebuffer_cleanup(struct drm_framebuffer *fb, bool needed_dirtyfb) in msm_framebuffer_cleanup()
125 uint32_t msm_framebuffer_iova(struct drm_framebuffer *fb, int plane) in msm_framebuffer_iova()
131 struct drm_gem_object *msm_framebuffer_bo(struct drm_framebuffer *fb, int plane) in msm_framebuffer_bo()
136 const struct msm_format *msm_framebuffer_format(struct drm_framebuffer *f
[all...]
H A Dmsm_drv.h257 int msm_framebuffer_prepare(struct drm_framebuffer *fb, bool needs_dirtyfb);
258 void msm_framebuffer_cleanup(struct drm_framebuffer *fb, bool needed_dirtyfb);
259 uint32_t msm_framebuffer_iova(struct drm_framebuffer *fb, int plane);
260 struct drm_gem_object *msm_framebuffer_bo(struct drm_framebuffer *fb, int plane);
261 const struct msm_format *msm_framebuffer_format(struct drm_framebuffer *fb);
262 struct drm_framebuffer *msm_framebuffer_create(struct drm_device *dev,
265 struct drm_framebuffer * msm_alloc_stolen_fb(struct drm_device *dev,
438 void msm_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m);
/linux/drivers/gpu/drm/
H A Ddrm_gem_framebuffer_helper.c15 #include <drm/drm_framebuffer.h>
35 * &drm_framebuffer and use &drm_gem_object for their backing storage.
54 struct drm_gem_object *drm_gem_fb_get_obj(struct drm_framebuffer *fb, in drm_gem_fb_get_obj()
70 struct drm_framebuffer *fb, in drm_gem_fb_init()
99 void drm_gem_fb_destroy(struct drm_framebuffer *fb) in drm_gem_fb_destroy()
124 int drm_gem_fb_create_handle(struct drm_framebuffer *fb, struct drm_file *file, in drm_gem_fb_create_handle()
136 * struct drm_framebuffer
155 struct drm_framebuffer *fb, in drm_gem_fb_init_with_funcs()
229 * Pointer to a &drm_framebuffer on success or an error pointer on failure.
231 struct drm_framebuffer *
[all...]
H A Ddrm_framebuffer.c33 #include <drm/drm_framebuffer.h>
59 * Framebuffers are tracked with &struct drm_framebuffer. They are published
69 * when the struct &struct drm_framebuffer is embedded into the fbdev helper
73 * drm_framebuffer.
78 const struct drm_framebuffer *fb) in drm_framebuffer_check_src_coords()
259 struct drm_framebuffer *
266 struct drm_framebuffer *fb; in drm_internal_framebuffer_create()
334 struct drm_framebuffer *fb; in drm_mode_addfb2()
388 struct drm_framebuffer *fb = in drm_mode_rmfb_work_fn()
399 static int drm_mode_closefb(struct drm_framebuffer *f
[all...]
H A Ddrm_format_helper.c19 #include <drm/drm_framebuffer.h>
140 const void *vaddr, const struct drm_framebuffer *fb, in __drm_fb_xfrm()
182 const void *vaddr, const struct drm_framebuffer *fb, in __drm_fb_xfrm_toio()
227 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_xfrm()
415 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_memcpy()
493 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_swab()
545 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_xrgb8888_to_rgb332()
584 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_xrgb8888_to_rgb565()
624 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_xrgb8888_to_rgb565be()
664 const struct iosys_map *src, const struct drm_framebuffer *f in drm_fb_xrgb8888_to_xrgb1555()
[all...]
/linux/drivers/gpu/drm/renesas/rcar-du/
H A 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/drivers/gpu/drm/tegra/
H A Dfb.c13 #include <drm/drm_framebuffer.h>
20 struct tegra_bo *tegra_fb_get_plane(struct drm_framebuffer *framebuffer, in tegra_fb_get_plane()
26 bool tegra_fb_is_bottom_up(struct drm_framebuffer *framebuffer) in tegra_fb_is_bottom_up()
36 int tegra_fb_get_tiling(struct drm_framebuffer *framebuffer, in tegra_fb_get_tiling()
104 struct drm_framebuffer *tegra_fb_alloc(struct drm_device *drm, in tegra_fb_alloc()
110 struct drm_framebuffer *fb; in tegra_fb_alloc()
134 struct drm_framebuffer *tegra_fb_create(struct drm_device *drm, in tegra_fb_create()
141 struct drm_framebuffer *fb; in tegra_fb_create()
H A Ddrm.h182 struct tegra_bo *tegra_fb_get_plane(struct drm_framebuffer *framebuffer,
184 bool tegra_fb_is_bottom_up(struct drm_framebuffer *framebuffer);
185 int tegra_fb_get_tiling(struct drm_framebuffer *framebuffer,
187 struct drm_framebuffer *tegra_fb_alloc(struct drm_device *drm,
192 struct drm_framebuffer *tegra_fb_create(struct drm_device *drm,
/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_fb.c14 #include <drm/drm_framebuffer.h>
57 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()
H A Dexynos_drm_fb.h15 struct drm_framebuffer *
22 dma_addr_t exynos_drm_fb_dma_addr(struct drm_framebuffer *fb, int index);
/linux/drivers/gpu/drm/gma500/
H A Dframebuffer.c8 #include <drm/drm_framebuffer.h>
31 struct drm_framebuffer *fb, in psb_framebuffer_init()
70 struct drm_framebuffer *psb_framebuffer_create(struct drm_device *dev, in psb_framebuffer_create()
75 struct drm_framebuffer *fb; in psb_framebuffer_create()
98 static struct drm_framebuffer *psb_user_framebuffer_create in psb_user_framebuffer_create()
104 struct drm_framebuffer *fb; in psb_user_framebuffer_create()
/linux/drivers/gpu/drm/arm/display/komeda/
H A 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 *
212 const struct drm_framebuffer *fb = &kfb->base; in komeda_fb_check_src_coords()
242 struct drm_framebuffer *fb = &kfb->base; in komeda_fb_get_pixel_addr()
271 struct drm_framebuffer *fb = &kfb->base; in komeda_fb_is_layer_supported()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_display.h18 struct drm_framebuffer **pfb);
68 nouveau_framebuffer_get_layout(struct drm_framebuffer *fb, uint32_t *tile_mode,
71 struct drm_framebuffer *
/linux/drivers/gpu/drm/gud/
H A Dgud_pipe.c17 #include <drm/drm_framebuffer.h>
53 void *src, struct drm_framebuffer *fb, in gud_xrgb8888_to_r124()
103 void *src, struct drm_framebuffer *fb, in gud_xrgb8888_to_color()
153 static int gud_prep_flush(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_prep_flush()
274 static int gud_flush_rect(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_flush_rect()
325 static void gud_flush_damage(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_flush_damage()
370 struct drm_framebuffer *fb; in gud_flush_work()
395 static int gud_fb_queue_damage(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_fb_queue_damage()
398 struct drm_framebuffer *old_fb = NULL; in gud_fb_queue_damage()
436 static void gud_fb_handle_damage(struct gud_device *gdrm, struct drm_framebuffer *f
[all...]
/linux/drivers/gpu/drm/i915/display/
H A Dintel_fb_bo.h11 struct drm_framebuffer;
17 int intel_fb_bo_framebuffer_init(struct drm_framebuffer *fb,
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_formats.h34 void dpu_format_populate_addrs(struct drm_framebuffer *fb,
38 struct drm_framebuffer *fb,
H A Ddpu_formats.c8 #include <drm/drm_framebuffer.h>
95 struct drm_framebuffer *fb, in _dpu_format_populate_plane_sizes_ubwc()
172 struct drm_framebuffer *fb, in _dpu_format_populate_plane_sizes_linear()
253 struct drm_framebuffer *fb, in dpu_format_populate_plane_sizes()
277 static void _dpu_format_populate_addrs_ubwc(struct drm_framebuffer *fb, in _dpu_format_populate_addrs_ubwc()
357 static void _dpu_format_populate_addrs_linear(struct drm_framebuffer *fb, in _dpu_format_populate_addrs_linear()
373 void dpu_format_populate_addrs(struct drm_framebuffer *fb, in dpu_format_populate_addrs()
/linux/drivers/gpu/drm/tests/
H A Ddrm_framebuffer_test.c3 * Test cases for the drm_framebuffer functions
14 #include <drm/drm_framebuffer.h>
364 static struct drm_framebuffer *fb_create_mock(struct drm_device *dev, in fb_create_mock()
427 struct drm_framebuffer *fb; in drm_test_framebuffer_modifiers_not_supported()
484 const struct drm_framebuffer fb = { in drm_test_framebuffer_check_src_coords()
515 struct drm_framebuffer fb1 = { .dev = dev, .format = &format }; in drm_test_framebuffer_cleanup()
516 struct drm_framebuffer fb2 = { .dev = dev, .format = &format }; in drm_test_framebuffer_cleanup()
544 struct drm_framebuffer expected_fb = { .dev = dev, .format = &format }; in drm_test_framebuffer_lookup()
545 struct drm_framebuffer *returned_fb; in drm_test_framebuffer_lookup()
566 struct drm_framebuffer *f in drm_test_framebuffer_lookup_inexistent()
[all...]

12345678910