Home
last modified time | relevance | path

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

12345

/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,
H A Ddrm_atomic_uapi.h39 struct drm_framebuffer;
52 struct drm_framebuffer *fb);
H A Ddrm_crtc_helper.h44 struct drm_framebuffer;
54 struct drm_framebuffer *old_fb);
H A Ddrm_plane.h72 struct drm_framebuffer *fb;
328 struct drm_crtc *crtc, struct drm_framebuffer *fb,
707 struct drm_framebuffer *fb;
715 struct drm_framebuffer *old_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);
/linux/drivers/gpu/drm/msm/
H A Dmsm_fb.c20 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 *fb) in msm_framebuffer_format()
142 struct drm_framebuffer *msm_framebuffer_create(struct drm_device *dev, in msm_framebuffer_create()
[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/gma500/
H A Dframebuffer.c31 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/tegra/
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/i915/display/
H A Dintel_fb.c672 bool intel_fb_is_ccs_aux_plane(const struct drm_framebuffer *fb, int color_plane) in intel_fb_is_ccs_aux_plane()
687 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()
703 int intel_fb_rc_ccs_cc_plane(const struct drm_framebuffer *fb) in intel_fb_rc_ccs_cc_plane()
715 static bool is_gen12_ccs_cc_plane(const struct drm_framebuffer *fb, int color_plane) in is_gen12_ccs_cc_plane()
720 bool is_surface_linear(const struct drm_framebuffer *fb, int color_plane) in is_surface_linear()
727 int main_to_ccs_plane(const struct drm_framebuffer *fb, int main_plane) in main_to_ccs_plane()
735 int skl_ccs_to_main_plane(const struct drm_framebuffer *fb, int ccs_plane) in skl_ccs_to_main_plane()
755 int skl_main_to_aux_plane(const struct drm_framebuffer *fb, int main_plane) in skl_main_to_aux_plane()
775 intel_tile_width_bytes(const struct drm_framebuffer *fb, int color_plane) in intel_tile_width_bytes()
843 unsigned int intel_tile_height(const struct drm_framebuffer *fb, int color_plane) in intel_tile_height()
[all …]
H A Dskl_universal_plane.c280 const struct drm_framebuffer *fb = plane_state->hw.fb; in glk_plane_ratio()
307 const struct drm_framebuffer *fb = plane_state->hw.fb; in skl_plane_ratio()
329 static int skl_plane_max_width(const struct drm_framebuffer *fb, in skl_plane_max_width()
367 static int glk_plane_max_width(const struct drm_framebuffer *fb, in glk_plane_max_width()
395 static int adl_plane_min_width(const struct drm_framebuffer *fb, in adl_plane_min_width()
402 static int icl_plane_min_width(const struct drm_framebuffer *fb, in icl_plane_min_width()
410 static int xe3_plane_max_width(const struct drm_framebuffer *fb, in xe3_plane_max_width()
420 static int icl_hdr_plane_max_width(const struct drm_framebuffer *fb, in icl_hdr_plane_max_width()
430 static int icl_sdr_plane_max_width(const struct drm_framebuffer *fb, in icl_sdr_plane_max_width()
437 static int skl_plane_max_height(const struct drm_framebuffer *fb, in skl_plane_max_height()
[all …]
/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.c52 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 *fb, in gud_fb_handle_damage()
462 struct drm_framebuffer *old_fb = old_plane_state->fb; in gud_plane_atomic_check()
[all …]
/linux/drivers/gpu/drm/exynos/
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/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/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()

12345