Home
last modified time | relevance | path

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

1234

/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,
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 *fb);
220 void drm_framebuffer_cleanup(struct drm_framebuffer *fb);
[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 *fb, struct iosys_map *map);
[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,
H A Ddrm_plane_helper.h30 struct drm_framebuffer;
35 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.c54 struct drm_framebuffer base;
62 static int omap_framebuffer_dirty(struct drm_framebuffer *fb, in omap_framebuffer_dirty()
86 static u32 get_linear_addr(struct drm_framebuffer *fb, in get_linear_addr()
100 bool omap_framebuffer_supports_rotation(struct drm_framebuffer *fb) in omap_framebuffer_supports_rotation()
137 void omap_framebuffer_update_scanout(struct drm_framebuffer *fb, in omap_framebuffer_update_scanout()
259 int omap_framebuffer_pin(struct drm_framebuffer *fb) in omap_framebuffer_pin()
299 void omap_framebuffer_unpin(struct drm_framebuffer *fb) in omap_framebuffer_unpin()
323 void omap_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m) in omap_framebuffer_describe()
338 struct drm_framebuffer *omap_framebuffer_create(struct drm_device *dev, in omap_framebuffer_create()
344 struct drm_framebuffer *fb; in omap_framebuffer_create()
[all …]
/linux/drivers/gpu/drm/msm/
H A Dmsm_fb.c19 struct drm_framebuffer base;
31 static int msm_framebuffer_dirtyfb(struct drm_framebuffer *fb, in msm_framebuffer_dirtyfb()
55 void msm_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m) in msm_framebuffer_describe()
74 int msm_framebuffer_prepare(struct drm_framebuffer *fb, bool needs_dirtyfb) in msm_framebuffer_prepare()
99 void msm_framebuffer_cleanup(struct drm_framebuffer *fb, bool needed_dirtyfb) in msm_framebuffer_cleanup()
120 uint32_t msm_framebuffer_iova(struct drm_framebuffer *fb, int plane) in msm_framebuffer_iova()
126 struct drm_gem_object *msm_framebuffer_bo(struct drm_framebuffer *fb, int plane) in msm_framebuffer_bo()
131 const struct msm_format *msm_framebuffer_format(struct drm_framebuffer *fb) in msm_framebuffer_format()
137 static struct drm_framebuffer *
145 struct drm_framebuffer *fb; in msm_framebuffer_init()
[all …]
H A Dmsm_drv.h256 int msm_framebuffer_prepare(struct drm_framebuffer *fb, bool needs_dirtyfb);
257 void msm_framebuffer_cleanup(struct drm_framebuffer *fb, bool needed_dirtyfb);
258 uint32_t msm_framebuffer_iova(struct drm_framebuffer *fb, int plane);
259 struct drm_gem_object *msm_framebuffer_bo(struct drm_framebuffer *fb, int plane);
260 const struct msm_format *msm_framebuffer_format(struct drm_framebuffer *fb);
261 struct drm_framebuffer *msm_framebuffer_create(struct drm_device *dev,
427 void msm_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m);
/linux/drivers/gpu/drm/
H A Ddrm_gem_framebuffer_helper.c55 struct drm_gem_object *drm_gem_fb_get_obj(struct drm_framebuffer *fb, in drm_gem_fb_get_obj()
71 struct drm_framebuffer *fb, in drm_gem_fb_init()
100 void drm_gem_fb_destroy(struct drm_framebuffer *fb) in drm_gem_fb_destroy()
125 int drm_gem_fb_create_handle(struct drm_framebuffer *fb, struct drm_file *file, in drm_gem_fb_create_handle()
156 struct drm_framebuffer *fb, in drm_gem_fb_init_with_funcs()
232 struct drm_framebuffer *
238 struct drm_framebuffer *fb; in drm_gem_fb_create_with_funcs()
283 struct drm_framebuffer *
323 struct drm_framebuffer *
356 int drm_gem_fb_vmap(struct drm_framebuffer *fb, struct iosys_map *map, in drm_gem_fb_vmap()
[all …]
H A Ddrm_fbdev_shmem.c46 struct drm_framebuffer *fb = fb_helper->fb; in drm_fbdev_shmem_fb_mmap()
85 struct drm_framebuffer *fb = fb_helper->fb; in drm_fbdev_shmem_get_page()
141 struct drm_framebuffer *fb; in drm_fbdev_shmem_driver_fbdev_probe()
H A Ddrm_fbdev_dma.c113 struct drm_framebuffer *fb = fb_helper->fb; in drm_fbdev_dma_damage_blit_real()
205 struct drm_framebuffer *fb = fb_helper->fb; in drm_fbdev_dma_driver_fbdev_probe_tail()
274 struct drm_framebuffer *fb; in drm_fbdev_dma_driver_fbdev_probe()
/linux/drivers/gpu/drm/loongson/
H A Dlsdc_plane.c32 static unsigned int lsdc_get_fb_offset(struct drm_framebuffer *fb, in lsdc_get_fb_offset()
43 static u64 lsdc_fb_base_addr(struct drm_framebuffer *fb) in lsdc_fb_base_addr()
77 struct drm_framebuffer *new_fb = new_plane_state->fb; in lsdc_primary_atomic_update()
78 struct drm_framebuffer *old_fb = old_plane_state->fb; in lsdc_primary_atomic_update()
104 struct drm_framebuffer *fb = new_state->fb; in lsdc_plane_prepare_fb()
142 struct drm_framebuffer *fb = old_state->fb; in lsdc_plane_cleanup_fb()
227 struct drm_framebuffer *old_fb = plane->state->fb; in lsdc_cursor_plane_atomic_async_update()
228 struct drm_framebuffer *new_fb; in lsdc_cursor_plane_atomic_async_update()
307 struct drm_framebuffer *new_fb = new_plane_state->fb; in ls7a1000_cursor_plane_atomic_update()
308 struct drm_framebuffer *old_fb = old_plane_state->fb; in ls7a1000_cursor_plane_atomic_update()
[all …]
/linux/drivers/gpu/drm/gud/
H A Dgud_pipe.c17 #include <drm/drm_framebuffer.h>
52 void *src, struct drm_framebuffer *fb, in gud_xrgb8888_to_r124()
102 void *src, struct drm_framebuffer *fb, in gud_xrgb8888_to_color()
152 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()
324 static void gud_flush_damage(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_flush_damage()
369 struct drm_framebuffer *fb; in gud_flush_work()
394 static int gud_fb_queue_damage(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_fb_queue_damage()
397 struct drm_framebuffer *old_fb = NULL; in gud_fb_queue_damage()
435 static void gud_fb_handle_damage(struct gud_device *gdrm, struct drm_framebuffer *f
[all...]
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_formats.c58 struct drm_framebuffer *fb, in _dpu_format_populate_plane_sizes_ubwc()
147 struct drm_framebuffer *fb, in _dpu_format_populate_plane_sizes_linear()
217 struct drm_framebuffer *fb, in dpu_format_populate_plane_sizes()
255 static void _dpu_format_populate_addrs_ubwc(struct drm_framebuffer *fb, in _dpu_format_populate_addrs_ubwc()
335 static void _dpu_format_populate_addrs_linear(struct drm_framebuffer *fb, in _dpu_format_populate_addrs_linear()
351 void dpu_format_populate_addrs(struct drm_framebuffer *fb, in dpu_format_populate_addrs()
/linux/drivers/gpu/drm/tests/
H A Ddrm_framebuffer_test.c364 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 *fb; in drm_test_framebuffer_lookup_inexistent()
584 struct drm_framebuffer fb1 = { .dev = dev, .format = &format }; in drm_test_framebuffer_init()
616 struct drm_framebuffer fb1 = { .dev = dev, .format = NULL }; in drm_test_framebuffer_init_bad_format()
[all …]
H A Ddrm_format_helper_test.c651 struct drm_framebuffer fb = { in drm_test_fb_xrgb8888_to_gray8()
684 struct drm_framebuffer fb = { in drm_test_fb_xrgb8888_to_rgb332()
717 struct drm_framebuffer fb = { in drm_test_fb_xrgb8888_to_rgb565()
766 struct drm_framebuffer fb = { in drm_test_fb_xrgb8888_to_xrgb1555()
807 struct drm_framebuffer fb = { in drm_test_fb_xrgb8888_to_argb1555()
848 struct drm_framebuffer fb = { in drm_test_fb_xrgb8888_to_rgba5551()
889 struct drm_framebuffer fb = { in drm_test_fb_xrgb8888_to_rgb888()
932 struct drm_framebuffer fb = { in drm_test_fb_xrgb8888_to_bgr888()
974 struct drm_framebuffer fb = { in drm_test_fb_xrgb8888_to_argb8888()
1015 struct drm_framebuffer fb = { in drm_test_fb_xrgb8888_to_xrgb2101010()
[all …]
/linux/drivers/gpu/drm/i915/display/
H A Dskl_universal_plane.c279 const struct drm_framebuffer *fb = plane_state->hw.fb; in glk_plane_ratio()
306 const struct drm_framebuffer *fb = plane_state->hw.fb; in skl_plane_ratio()
328 static int skl_plane_max_width(const struct drm_framebuffer *fb, in skl_plane_max_width()
366 static int glk_plane_max_width(const struct drm_framebuffer *fb, in glk_plane_max_width()
394 static int adl_plane_min_width(const struct drm_framebuffer *fb, in adl_plane_min_width()
401 static int icl_plane_min_width(const struct drm_framebuffer *fb, in icl_plane_min_width()
409 static int xe3_plane_max_width(const struct drm_framebuffer *fb, in xe3_plane_max_width()
419 static int icl_hdr_plane_max_width(const struct drm_framebuffer *fb, in icl_hdr_plane_max_width()
429 static int icl_sdr_plane_max_width(const struct drm_framebuffer *fb, in icl_sdr_plane_max_width()
436 static int skl_plane_max_height(const struct drm_framebuffer *fb, in skl_plane_max_height()
[all …]
H A Dintel_cursor.c123 const struct drm_framebuffer *fb = plane_state->hw.fb; in intel_cursor_check_surface()
142 const struct drm_framebuffer *fb = plane_state->hw.fb; in intel_check_cursor()
192 const struct drm_framebuffer *fb, in i845_cursor_min_alignment()
231 const struct drm_framebuffer *fb = plane_state->hw.fb; in i845_check_cursor()
353 const struct drm_framebuffer *fb, in i830_cursor_min_alignment()
361 const struct drm_framebuffer *fb, in i85x_cursor_min_alignment()
368 const struct drm_framebuffer *fb, in i9xx_cursor_min_alignment()
475 const struct drm_framebuffer *fb = plane_state->hw.fb; in i9xx_check_cursor()
805 struct drm_framebuffer *fb, in intel_legacy_cursor_update()
/linux/drivers/gpu/drm/armada/
H A Darmada_fb.h11 struct drm_framebuffer fb;
22 struct drm_framebuffer *armada_fb_create(struct drm_device *dev,
H A Darmada_trace.h8 struct drm_framebuffer;
32 struct drm_framebuffer *fb,
39 __field(struct drm_framebuffer *, fb)
/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_framebuffer.h18 struct drm_framebuffer base;
38 struct drm_framebuffer *
/linux/drivers/gpu/drm/imx/ipuv3/
H A Dipuv3-plane.h11 struct drm_framebuffer;
39 struct drm_framebuffer *fb, int crtc_x, int crtc_y,
/linux/drivers/gpu/drm/xen/
H A Dxen_drm_front.h22 struct drm_framebuffer;
123 static inline u64 xen_drm_front_fb_to_cookie(struct drm_framebuffer *fb) in xen_drm_front_fb_to_cookie()
/linux/drivers/gpu/drm/gma500/
H A Dgma_display.h60 struct drm_framebuffer *old_fb);
68 struct drm_framebuffer *fb,

1234