/linux/include/drm/ |
H A D | drm_framebuffer.h | 37 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 D | drm_gem_framebuffer_helper.h | 12 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 D | drm_fb_dma_helper.h | 8 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 D | drm_modeset_helper.h | 30 struct drm_framebuffer; 36 struct drm_framebuffer *fb,
|
H A D | drm_atomic_uapi.h | 39 struct drm_framebuffer; 51 struct drm_framebuffer *fb);
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_fb.h | 14 struct drm_framebuffer; 42 bool intel_fb_is_ccs_aux_plane(const struct drm_framebuffer *fb, int color_plane); 43 int intel_fb_rc_ccs_cc_plane(const struct drm_framebuffer *fb); 56 bool is_surface_linear(const struct drm_framebuffer *fb, int color_plane); 58 int main_to_ccs_plane(const struct drm_framebuffer *fb, int main_plane); 59 int skl_ccs_to_main_plane(const struct drm_framebuffer *fb, int ccs_plane); 60 int skl_main_to_aux_plane(const struct drm_framebuffer *fb, int main_plane); 63 unsigned int intel_tile_width_bytes(const struct drm_framebuffer *fb, int color_plane); 64 unsigned int intel_tile_height(const struct drm_framebuffer *fb, int color_plane); 65 unsigned int intel_tile_row_size(const struct drm_framebuffer *fb, int color_plane); [all …]
|
H A D | intel_fb.c | 672 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() 844 unsigned int intel_tile_height(const struct drm_framebuffer *fb, int color_plane) in intel_tile_height() [all …]
|
/linux/drivers/gpu/drm/omapdrm/ |
H A D | omap_fb.h | 15 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 D | omap_fb.c | 53 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 D | msm_fb.c | 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 *fb) in msm_framebuffer_format() 142 struct drm_framebuffer *msm_framebuffer_create(struct drm_device *dev, in msm_framebuffer_create() [all …]
|
H A D | msm_drv.h | 257 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 D | drm_gem_framebuffer_helper.c | 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() 155 struct drm_framebuffer *fb, in drm_gem_fb_init_with_funcs() 231 struct drm_framebuffer * 237 struct drm_framebuffer *fb; in drm_gem_fb_create_with_funcs() 282 struct drm_framebuffer * 322 struct drm_framebuffer * 355 int drm_gem_fb_vmap(struct drm_framebuffer *fb, struct iosys_map *map, in drm_gem_fb_vmap() [all …]
|
H A D | drm_framebuffer.c | 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 *fb, in drm_mode_closefb() 402 struct drm_framebuffer *fbl; in drm_mode_closefb() 440 struct drm_framebuffer *fb; in drm_mode_rmfb() 490 struct drm_framebuffer *fb; in drm_mode_closefb_ioctl() 525 struct drm_framebuffer *fb; in drm_mode_getfb() [all …]
|
/linux/drivers/gpu/drm/tegra/ |
H A D | fb.c | 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 D | drm.h | 182 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/renesas/rcar-du/ |
H A D | rcar_du_vsp.h | 15 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/exynos/ |
H A D | exynos_drm_fb.c | 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 D | exynos_drm_fb.h | 15 struct drm_framebuffer * 22 dma_addr_t exynos_drm_fb_dma_addr(struct drm_framebuffer *fb, int index);
|
/linux/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_framebuffer.c | 16 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/gma500/ |
H A D | framebuffer.c | 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/gud/ |
H A D | gud_pipe.c | 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 *fb, in gud_fb_handle_damage() 462 struct drm_framebuffer *old_fb = old_plane_state->fb; in gud_pipe_check() [all …]
|
/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_display.h | 18 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/tests/ |
H A D | drm_framebuffer_test.c | 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 *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 …]
|
/linux/drivers/gpu/drm/armada/ |
H A D | armada_trace.h | 8 struct drm_framebuffer; 32 struct drm_framebuffer *fb, 39 __field(struct drm_framebuffer *, fb)
|
H A D | armada_fb.h | 11 struct drm_framebuffer fb; 22 struct drm_framebuffer *armada_fb_create(struct drm_device *dev,
|