| /Linux-v5.4/include/drm/ |
| D | drm_rect.h | 41 struct drm_rect { struct 84 static inline void drm_rect_adjust_size(struct drm_rect *r, int dw, int dh) in drm_rect_adjust_size() 101 static inline void drm_rect_translate(struct drm_rect *r, int dx, int dy) in drm_rect_translate() 117 static inline void drm_rect_downscale(struct drm_rect *r, int horz, int vert) in drm_rect_downscale() 132 static inline int drm_rect_width(const struct drm_rect *r) in drm_rect_width() 144 static inline int drm_rect_height(const struct drm_rect *r) in drm_rect_height() 156 static inline bool drm_rect_visible(const struct drm_rect *r) in drm_rect_visible() 169 static inline bool drm_rect_equals(const struct drm_rect *r1, in drm_rect_equals() 170 const struct drm_rect *r2) in drm_rect_equals() 176 bool drm_rect_intersect(struct drm_rect *r, const struct drm_rect *clip); [all …]
|
| D | drm_format_helper.h | 10 struct drm_rect; 13 struct drm_rect *clip); 16 struct drm_rect *clip); 18 struct drm_rect *clip); 21 struct drm_rect *clip, bool swab); 24 struct drm_rect *clip, bool swab); 27 struct drm_rect *clip); 29 struct drm_rect *clip);
|
| D | drm_damage_helper.h | 56 struct drm_rect plane_src; 58 const struct drm_rect *clips; 80 struct drm_rect *rect); 83 struct drm_rect *rect); 96 static inline struct drm_rect * 99 return (struct drm_rect *)drm_plane_get_damage_clips(state); in drm_helper_get_plane_damage_clips()
|
| D | drm_plane.h | 188 struct drm_rect src, dst; 210 static inline struct drm_rect 213 struct drm_rect src = { in drm_plane_state_src() 222 static inline struct drm_rect 225 struct drm_rect dest = { in drm_plane_state_dest()
|
| D | drm_mipi_dbi.h | 15 struct drm_rect; 163 struct drm_rect *clip, bool swap);
|
| /Linux-v5.4/drivers/gpu/drm/ |
| D | drm_rect.c | 44 bool drm_rect_intersect(struct drm_rect *r1, const struct drm_rect *r2) in drm_rect_intersect() 82 bool drm_rect_clip_scaled(struct drm_rect *src, struct drm_rect *dst, in drm_rect_clip_scaled() 83 const struct drm_rect *clip) in drm_rect_clip_scaled() 159 int drm_rect_calc_hscale(const struct drm_rect *src, in drm_rect_calc_hscale() 160 const struct drm_rect *dst, in drm_rect_calc_hscale() 194 int drm_rect_calc_vscale(const struct drm_rect *src, in drm_rect_calc_vscale() 195 const struct drm_rect *dst, in drm_rect_calc_vscale() 218 void drm_rect_debug_print(const char *prefix, const struct drm_rect *r, bool fixed_point) in drm_rect_debug_print() 243 void drm_rect_rotate(struct drm_rect *r, in drm_rect_rotate() 247 struct drm_rect tmp; in drm_rect_rotate() [all …]
|
| D | drm_format_helper.c | 20 static unsigned int clip_offset(struct drm_rect *clip, in clip_offset() 37 struct drm_rect *clip) in drm_fb_memcpy() 64 struct drm_rect *clip) in drm_fb_memcpy_dstclip() 89 struct drm_rect *clip) in drm_fb_swab16() 150 struct drm_rect *clip, bool swab) in drm_fb_xrgb8888_to_rgb565() 195 struct drm_rect *clip, bool swab) in drm_fb_xrgb8888_to_rgb565_dstclip() 247 struct drm_rect *clip) in drm_fb_xrgb8888_to_rgb888_dstclip() 288 struct drm_rect *clip) in drm_fb_xrgb8888_to_gray8()
|
| D | drm_plane_helper.c | 104 struct drm_rect *src, in drm_plane_helper_check_update() 105 struct drm_rect *dst, in drm_plane_helper_check_update() 164 struct drm_rect src = { in drm_primary_helper_update() 170 struct drm_rect dest = { in drm_primary_helper_update()
|
| D | drm_damage_helper.c | 314 struct drm_rect *rect) in drm_atomic_helper_damage_iter_next() 355 struct drm_rect *rect) in drm_atomic_helper_damage_merged() 358 struct drm_rect clip; in drm_atomic_helper_damage_merged()
|
| /Linux-v5.4/drivers/gpu/drm/selftests/ |
| D | test-drm_damage_helper.c | 43 static bool check_damage_clip(struct drm_plane_state *state, struct drm_rect *r, in check_damage_clip() 77 struct drm_rect clip; in igt_damage_iter_no_damage() 108 struct drm_rect clip; in igt_damage_iter_no_damage_fractional_src() 141 struct drm_rect clip; in igt_damage_iter_no_damage_src_moved() 173 struct drm_rect clip; in igt_damage_iter_no_damage_fractional_src_moved() 206 struct drm_rect clip; in igt_damage_iter_no_damage_not_visible() 235 struct drm_rect clip; in igt_damage_iter_no_damage_no_crtc() 263 struct drm_rect clip; in igt_damage_iter_no_damage_no_fb() 288 struct drm_rect clip; in igt_damage_iter_simple_damage() 324 struct drm_rect clip; in igt_damage_iter_single_damage() [all …]
|
| /Linux-v5.4/drivers/gpu/drm/meson/ |
| D | meson_vpp.h | 12 struct drm_rect; 23 struct drm_rect *input);
|
| /Linux-v5.4/drivers/gpu/drm/tiny/ |
| D | st7586.c | 66 struct drm_rect *clip) in st7586_xrgb8888_to_gray332() 92 struct drm_rect *clip) in st7586_buf_copy() 115 static void st7586_fb_dirty(struct drm_framebuffer *fb, struct drm_rect *rect) in st7586_fb_dirty() 163 struct drm_rect rect; in st7586_pipe_update() 183 struct drm_rect rect = { in st7586_pipe_enable()
|
| D | gm12u320.c | 99 struct drm_rect rect; 430 struct drm_rect *dirty) in gm12u320_fb_mark_dirty() 445 struct drm_rect *rect = &gm12u320->fb_update.rect; in gm12u320_fb_mark_dirty() 594 struct drm_rect rect = { 0, 0, GM12U320_USER_WIDTH, GM12U320_HEIGHT }; in gm12u320_pipe_enable() 614 struct drm_rect rect; in gm12u320_pipe_update()
|
| D | ili9225.c | 78 static void ili9225_fb_dirty(struct drm_framebuffer *fb, struct drm_rect *rect) in ili9225_fb_dirty() 169 struct drm_rect rect; in ili9225_pipe_update() 190 struct drm_rect rect = { in ili9225_pipe_enable()
|
| /Linux-v5.4/drivers/gpu/drm/msm/disp/dpu1/ |
| D | dpu_hw_sspp.h | 159 struct drm_rect src_rect; 160 struct drm_rect dst_rect;
|
| D | dpu_crtc.h | 199 struct drm_rect lm_bounds[CRTC_DUAL_MIXERS];
|
| D | dpu_crtc.c | 100 const struct drm_rect *lm_roi = &crtc_state->lm_bounds[lm_idx]; in _dpu_crtc_program_lm_output_roi() 408 struct drm_rect *r = &cstate->lm_bounds[i]; in _dpu_crtc_setup_lm_bounds() 828 struct drm_rect crtc_rect = { 0 }; in dpu_crtc_atomic_check() 864 struct drm_rect dst, clip = crtc_rect; in dpu_crtc_atomic_check() 983 struct drm_rect left_rect, right_rect; in dpu_crtc_atomic_check()
|
| /Linux-v5.4/drivers/gpu/drm/vkms/ |
| D | vkms_plane.c | 104 memcpy(&composer->src, &plane->state->src, sizeof(struct drm_rect)); in vkms_plane_atomic_update() 105 memcpy(&composer->dst, &plane->state->dst, sizeof(struct drm_rect)); in vkms_plane_atomic_update()
|
| D | vkms_drv.h | 25 struct drm_rect src, dst;
|
| /Linux-v5.4/drivers/gpu/drm/vmwgfx/ |
| D | vmwgfx_kms.h | 108 struct drm_rect *clip, uint32_t src_x, uint32_t src_y); 119 struct drm_rect *bb); 571 struct drm_rect *r) in vmw_du_translate_to_crtc()
|
| D | vmwgfx_kms.c | 1454 struct drm_rect *rects) in vmw_kms_check_display_memory() 1457 struct drm_rect bounding_box = {0}; in vmw_kms_check_display_memory() 1605 struct drm_rect *rects; in vmw_kms_check_topology() 1610 rects = kcalloc(dev->mode_config.num_crtc, sizeof(struct drm_rect), in vmw_kms_check_topology() 2022 unsigned int num_rects, struct drm_rect *rects) in vmw_du_update_layout() 2343 struct drm_rect *drm_rects; in vmw_kms_update_layout_ioctl() 2348 struct drm_rect def_rect = {0, 0, 800, 600}; in vmw_kms_update_layout_ioctl() 2370 drm_rects = (struct drm_rect *)rects; in vmw_kms_update_layout_ioctl() 2799 struct drm_rect clip; in vmw_du_helper_plane_update() 2800 struct drm_rect bb; in vmw_du_helper_plane_update()
|
| D | vmwgfx_stdu.c | 1224 void *cmd, struct drm_rect *clip, in vmw_stdu_bo_populate_clip() 1243 void *cmd, struct drm_rect *bb) in vmw_stdu_bo_populate_update() 1274 void *cmd, struct drm_rect *clip, in vmw_stdu_bo_clip_cpu() 1288 struct drm_rect *bb) in vmw_stdu_bo_populate_update_cpu() 1442 struct drm_rect clip; in vmw_stdu_surface_update_proxy() 1497 struct drm_rect *clip, uint32_t fb_x, in vmw_stdu_surface_populate_clip() 1517 struct drm_rect *bb) in vmw_stdu_surface_populate_update()
|
| D | vmwgfx_scrn.c | 502 void *cmd, struct drm_rect *clip, in vmw_sou_bo_populate_clip() 520 void *cmd, struct drm_rect *bb) in vmw_stud_bo_post_clip() 618 void *cmd, struct drm_rect *clip, in vmw_sou_surface_clip_rect() 636 void *cmd, struct drm_rect *bb) in vmw_sou_surface_post_clip() 640 struct drm_rect src_bb; in vmw_sou_surface_post_clip()
|
| /Linux-v5.4/drivers/gpu/drm/cirrus/ |
| D | cirrus.c | 300 struct drm_rect *rect) in cirrus_fb_blit_rect() 332 struct drm_rect fullscreen = { in cirrus_fb_blit_fullscreen() 428 struct drm_rect rect; in cirrus_pipe_update()
|
| /Linux-v5.4/drivers/gpu/drm/msm/disp/mdp5/ |
| D | mdp5_plane.c | 24 struct drm_rect *src, struct drm_rect *dest); 292 struct drm_rect src = drm_plane_state_src(state); in mdp5_plane_atomic_check_with_state() 915 struct drm_rect *src, struct drm_rect *dest) in mdp5_plane_mode_set()
|