/openbmc/linux/include/drm/ |
H A D | drm_framebuffer.h | 36 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 …]
|
H A D | drm_format_helper.h | 13 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, 43 const struct iosys_map *src, const struct drm_framebuffer *fb, 46 const struct iosys_map *src, const struct drm_framebuffer *fb, [all …]
|
H A D | drm_gem_framebuffer_helper.h | 11 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 …]
|
H A D | drm_fb_dma_helper.h | 8 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,
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_fb.h | 14 struct drm_framebuffer; 37 bool intel_fb_is_ccs_aux_plane(const struct drm_framebuffer *fb, int color_plane); 38 int intel_fb_rc_ccs_cc_plane(const struct drm_framebuffer *fb); 51 bool is_surface_linear(const struct drm_framebuffer *fb, int color_plane); 53 int main_to_ccs_plane(const struct drm_framebuffer *fb, int main_plane); 54 int skl_ccs_to_main_plane(const struct drm_framebuffer *fb, int ccs_plane); 55 int skl_main_to_aux_plane(const struct drm_framebuffer *fb, int main_plane); 58 unsigned int intel_tile_width_bytes(const struct drm_framebuffer *fb, int color_plane); 59 unsigned int intel_tile_height(const struct drm_framebuffer *fb, int color_plane); 60 unsigned int intel_tile_row_size(const struct drm_framebuffer *fb, int color_plane); [all …]
|
H A D | intel_fb.c | 507 bool intel_fb_is_ccs_aux_plane(const struct drm_framebuffer *fb, int color_plane) in intel_fb_is_ccs_aux_plane() 522 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() 538 int intel_fb_rc_ccs_cc_plane(const struct drm_framebuffer *fb) in intel_fb_rc_ccs_cc_plane() 550 static bool is_gen12_ccs_cc_plane(const struct drm_framebuffer *fb, int color_plane) in is_gen12_ccs_cc_plane() 555 static bool is_semiplanar_uv_plane(const struct drm_framebuffer *fb, int color_plane) in is_semiplanar_uv_plane() 561 bool is_surface_linear(const struct drm_framebuffer *fb, int color_plane) in is_surface_linear() 568 int main_to_ccs_plane(const struct drm_framebuffer *fb, int main_plane) in main_to_ccs_plane() 576 int skl_ccs_to_main_plane(const struct drm_framebuffer *fb, int ccs_plane) in skl_ccs_to_main_plane() 596 int skl_main_to_aux_plane(const struct drm_framebuffer *fb, int main_plane) in skl_main_to_aux_plane() 616 intel_tile_width_bytes(const struct drm_framebuffer *fb, int color_plane) in intel_tile_width_bytes() [all …]
|
H A D | skl_universal_plane.c | 271 const struct drm_framebuffer *fb = plane_state->hw.fb; in glk_plane_ratio() 298 const struct drm_framebuffer *fb = plane_state->hw.fb; in skl_plane_ratio() 320 static int skl_plane_max_width(const struct drm_framebuffer *fb, in skl_plane_max_width() 359 static int glk_plane_max_width(const struct drm_framebuffer *fb, in glk_plane_max_width() 387 static int icl_plane_min_width(const struct drm_framebuffer *fb, in icl_plane_min_width() 427 static int icl_hdr_plane_max_width(const struct drm_framebuffer *fb, in icl_hdr_plane_max_width() 437 static int icl_sdr_plane_max_width(const struct drm_framebuffer *fb, in icl_sdr_plane_max_width() 444 static int skl_plane_max_height(const struct drm_framebuffer *fb, in skl_plane_max_height() 451 static int icl_plane_max_height(const struct drm_framebuffer *fb, in icl_plane_max_height() 586 static unsigned int skl_plane_stride_mult(const struct drm_framebuffer *fb, in skl_plane_stride_mult() [all …]
|
H A D | intel_fb_pin.h | 11 struct drm_framebuffer; 17 intel_pin_and_fence_fb_obj(struct drm_framebuffer *fb,
|
/openbmc/linux/drivers/gpu/drm/omapdrm/ |
H A D | omap_fb.h | 15 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);
|
H A D | omap_fb.c | 52 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 …]
|
/openbmc/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, 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 …]
|
H A D | msm_drv.h | 285 int msm_framebuffer_prepare(struct drm_framebuffer *fb, 287 void msm_framebuffer_cleanup(struct drm_framebuffer *fb, 289 uint32_t msm_framebuffer_iova(struct drm_framebuffer *fb, 291 struct drm_gem_object *msm_framebuffer_bo(struct drm_framebuffer *fb, int plane); 292 const struct msm_format *msm_framebuffer_format(struct drm_framebuffer *fb); 293 struct drm_framebuffer *msm_framebuffer_create(struct drm_device *dev, 295 struct drm_framebuffer * msm_alloc_stolen_fb(struct drm_device *dev, 449 void msm_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m);
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_gem_framebuffer_helper.c | 53 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() 233 struct drm_framebuffer * 238 struct drm_framebuffer *fb; in drm_gem_fb_create_with_funcs() 282 struct drm_framebuffer * 320 struct drm_framebuffer * 352 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() 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 …]
|
H A D | drm_format_helper.c | 46 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() 381 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_xrgb8888_to_rgb565() 438 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_xrgb8888_to_xrgb1555() 490 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_xrgb8888_to_argb1555() 542 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_xrgb8888_to_rgba5551() [all …]
|
/openbmc/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() 109 struct drm_framebuffer *fb; in tegra_fb_alloc() 133 struct drm_framebuffer *tegra_fb_create(struct drm_device *drm, in tegra_fb_create() 140 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, 191 struct drm_framebuffer *tegra_fb_create(struct drm_device *drm,
|
/openbmc/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()
|
/openbmc/linux/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_fb.c | 57 struct drm_framebuffer * 63 struct drm_framebuffer *fb; in exynos_drm_framebuffer_init() 95 static struct drm_framebuffer * 101 struct drm_framebuffer *fb; in exynos_user_fb_create() 142 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 * 21 dma_addr_t exynos_drm_fb_dma_addr(struct drm_framebuffer *fb, int index);
|
/openbmc/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 * 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()
|
/openbmc/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() 74 struct drm_framebuffer *fb; in psb_framebuffer_create() 97 static struct drm_framebuffer *psb_user_framebuffer_create in psb_user_framebuffer_create() 102 struct drm_framebuffer *fb; in psb_user_framebuffer_create()
|
/openbmc/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_plane.c | 31 static unsigned int lsdc_get_fb_offset(struct drm_framebuffer *fb, in lsdc_get_fb_offset() 42 static u64 lsdc_fb_base_addr(struct drm_framebuffer *fb) in lsdc_fb_base_addr() 76 struct drm_framebuffer *new_fb = new_plane_state->fb; in lsdc_primary_atomic_update() 77 struct drm_framebuffer *old_fb = old_plane_state->fb; in lsdc_primary_atomic_update() 103 struct drm_framebuffer *fb = new_state->fb; in lsdc_plane_prepare_fb() 141 struct drm_framebuffer *fb = old_state->fb; in lsdc_plane_cleanup_fb() 225 struct drm_framebuffer *old_fb = plane->state->fb; in lsdc_cursor_plane_atomic_async_update() 226 struct drm_framebuffer *new_fb; in lsdc_cursor_plane_atomic_async_update() 305 struct drm_framebuffer *new_fb = new_plane_state->fb; in ls7a1000_cursor_plane_atomic_update() 306 struct drm_framebuffer *old_fb = old_plane_state->fb; in ls7a1000_cursor_plane_atomic_update() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_display.h | 15 struct drm_framebuffer **pfb); 65 nouveau_framebuffer_get_layout(struct drm_framebuffer *fb, uint32_t *tile_mode, 68 struct drm_framebuffer *
|
/openbmc/linux/drivers/gpu/drm/gud/ |
H A D | gud_pipe.c | 53 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() 267 static int gud_flush_rect(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_flush_rect() 317 static void gud_flush_damage(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_flush_damage() 359 struct drm_framebuffer *fb; in gud_flush_work() 384 static int gud_fb_queue_damage(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_fb_queue_damage() 387 struct drm_framebuffer *old_fb = NULL; in gud_fb_queue_damage() 425 static void gud_fb_handle_damage(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_fb_handle_damage() 451 struct drm_framebuffer *old_fb = old_plane_state->fb; in gud_pipe_check() [all …]
|