/Linux-v6.6/include/drm/ |
D | drm_rect.h | 46 struct drm_rect { struct 60 #define DRM_RECT_INIT(x, y, w, h) ((struct drm_rect){ \ argument 101 static inline void drm_rect_init(struct drm_rect *r, int x, int y, in drm_rect_init() 122 static inline void drm_rect_adjust_size(struct drm_rect *r, int dw, int dh) in drm_rect_adjust_size() 139 static inline void drm_rect_translate(struct drm_rect *r, int dx, int dy) in drm_rect_translate() 156 static inline void drm_rect_translate_to(struct drm_rect *r, int x, int y) in drm_rect_translate_to() 169 static inline void drm_rect_downscale(struct drm_rect *r, int horz, int vert) in drm_rect_downscale() 184 static inline int drm_rect_width(const struct drm_rect *r) in drm_rect_width() 196 static inline int drm_rect_height(const struct drm_rect *r) in drm_rect_height() 208 static inline bool drm_rect_visible(const struct drm_rect *r) in drm_rect_visible() [all …]
|
D | drm_format_helper.h | 14 struct drm_rect; 19 const struct drm_rect *clip); 23 const struct drm_rect *clip); 26 const struct drm_rect *clip, bool cached); 29 const struct drm_rect *clip); 32 const struct drm_rect *clip, bool swab); 35 const struct drm_rect *clip); 38 const struct drm_rect *clip); 41 const struct drm_rect *clip); 44 const struct drm_rect *clip); [all …]
|
D | drm_damage_helper.h | 56 struct drm_rect plane_src; 58 const struct drm_rect *clips; 79 struct drm_rect *rect); 82 struct drm_rect *rect);
|
D | drm_plane.h | 213 struct drm_rect src, dst; 242 static inline struct drm_rect 245 struct drm_rect src = { in drm_plane_state_src() 254 static inline struct drm_rect 257 struct drm_rect dest = { in drm_plane_state_dest()
|
D | drm_mipi_dbi.h | 15 struct drm_rect; 195 struct drm_rect *clip, bool swap);
|
/Linux-v6.6/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() 92 bool drm_rect_clip_scaled(struct drm_rect *src, struct drm_rect *dst, in drm_rect_clip_scaled() 93 const struct drm_rect *clip) in drm_rect_clip_scaled() 169 int drm_rect_calc_hscale(const struct drm_rect *src, in drm_rect_calc_hscale() 170 const struct drm_rect *dst, in drm_rect_calc_hscale() 204 int drm_rect_calc_vscale(const struct drm_rect *src, in drm_rect_calc_vscale() 205 const struct drm_rect *dst, in drm_rect_calc_vscale() 228 void drm_rect_debug_print(const char *prefix, const struct drm_rect *r, bool fixed_point) in drm_rect_debug_print() 253 void drm_rect_rotate(struct drm_rect *r, in drm_rect_rotate() 257 struct drm_rect tmp; in drm_rect_rotate() [all …]
|
D | drm_format_helper.c | 23 static unsigned int clip_offset(const struct drm_rect *clip, unsigned int pitch, unsigned int cpp) in clip_offset() 38 const struct drm_rect *clip) in drm_fb_clip_offset() 47 const struct drm_rect *clip, bool vaddr_cached_hint, in __drm_fb_xfrm() 90 const struct drm_rect *clip, bool vaddr_cached_hint, in __drm_fb_xfrm_toio() 136 const struct drm_rect *clip, bool vaddr_cached_hint, in drm_fb_xfrm() 175 const struct drm_rect *clip) in drm_fb_memcpy() 252 const struct drm_rect *clip, bool cached) in drm_fb_swab() 312 const struct drm_rect *clip) in drm_fb_xrgb8888_to_rgb332() 382 const struct drm_rect *clip, bool swab) in drm_fb_xrgb8888_to_rgb565() 439 const struct drm_rect *clip) in drm_fb_xrgb8888_to_xrgb1555() [all …]
|
D | drm_damage_helper.c | 227 struct drm_rect src; in drm_atomic_helper_damage_iter_init() 233 iter->clips = (struct drm_rect *)drm_plane_get_damage_clips(state); in drm_atomic_helper_damage_iter_init() 270 struct drm_rect *rect) in drm_atomic_helper_damage_iter_next() 311 struct drm_rect *rect) in drm_atomic_helper_damage_merged() 314 struct drm_rect clip; in drm_atomic_helper_damage_merged()
|
D | drm_plane_helper.c | 97 struct drm_rect *src, in drm_plane_helper_check_update() 98 struct drm_rect *dst, in drm_plane_helper_check_update() 179 struct drm_rect src = { in drm_plane_helper_update_primary() 185 struct drm_rect dest = { in drm_plane_helper_update_primary()
|
/Linux-v6.6/drivers/gpu/drm/tests/ |
D | drm_damage_helper_test.c | 95 static void check_damage_clip(struct kunit *test, struct drm_rect *r, in check_damage_clip() 123 struct drm_rect clip; in drm_test_damage_iter_no_damage() 141 struct drm_rect clip; in drm_test_damage_iter_no_damage_fractional_src() 162 struct drm_rect clip; in drm_test_damage_iter_no_damage_src_moved() 181 struct drm_rect clip; in drm_test_damage_iter_no_damage_fractional_src_moved() 201 struct drm_rect clip; in drm_test_damage_iter_no_damage_not_visible() 219 struct drm_rect clip; in drm_test_damage_iter_no_damage_no_crtc() 237 struct drm_rect clip; in drm_test_damage_iter_no_damage_no_fb() 257 struct drm_rect clip; in drm_test_damage_iter_simple_damage() 280 struct drm_rect clip; in drm_test_damage_iter_single_damage() [all …]
|
D | drm_rect_test.c | 16 static void drm_rect_compare(struct kunit *test, const struct drm_rect *r, in drm_rect_compare() 17 const struct drm_rect *expected) in drm_rect_compare() 27 struct drm_rect src, dst, clip; in drm_test_rect_clip_scaled_div_by_zero() 53 struct drm_rect src, dst, clip; in drm_test_rect_clip_scaled_not_clipped() 101 struct drm_rect src, dst, clip; in drm_test_rect_clip_scaled_clipped() 191 struct drm_rect src, dst, clip; in drm_test_rect_clip_scaled_signed_vs_unsigned() 214 struct drm_rect r1, r2; 216 struct drm_rect expected_intersection; 339 struct drm_rect r1_aux = params->r1; in drm_test_rect_intersect() 350 struct drm_rect src, dst; [all …]
|
D | drm_plane_helper_test.c | 86 struct drm_rect expected = DRM_RECT_INIT(src_x, src_y, src_w, src_h); in check_src_eq() 105 struct drm_rect expected = DRM_RECT_INIT(crtc_x, crtc_y, crtc_w, crtc_h); in check_crtc_eq()
|
/Linux-v6.6/drivers/gpu/drm/i915/display/ |
D | intel_atomic_plane.h | 13 struct drm_rect; 21 unsigned int intel_adjusted_rate(const struct drm_rect *src, 22 const struct drm_rect *dst,
|
/Linux-v6.6/drivers/gpu/drm/meson/ |
D | meson_vpp.h | 12 struct drm_rect; 25 struct drm_rect *input);
|
/Linux-v6.6/drivers/gpu/drm/gud/ |
D | gud_pipe.c | 54 struct drm_rect *rect) in gud_xrgb8888_to_r124() 103 struct drm_rect *rect) in gud_xrgb8888_to_color() 154 const struct drm_format_info *format, struct drm_rect *rect, in gud_prep_flush() 269 const struct drm_format_info *format, struct drm_rect *rect) in gud_flush_rect() 319 struct drm_rect *damage) in gud_flush_damage() 338 struct drm_rect rect = *damage; in gud_flush_damage() 360 struct drm_rect damage; in gud_flush_work() 385 const struct iosys_map *src, struct drm_rect *damage) in gud_fb_queue_damage() 426 const struct iosys_map *src, struct drm_rect *damage) in gud_fb_handle_damage() 568 struct drm_rect damage; in gud_pipe_update()
|
/Linux-v6.6/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_wb.h | 20 struct drm_rect roi; 21 struct drm_rect crop;
|
D | dpu_hw_sspp.h | 162 struct drm_rect src_rect; 163 struct drm_rect dst_rect;
|
/Linux-v6.6/drivers/gpu/drm/tiny/ |
D | st7586.c | 67 struct drm_rect *clip) in st7586_xrgb8888_to_gray332() 96 struct drm_rect *clip) in st7586_buf_copy() 112 struct drm_rect *rect) in st7586_fb_dirty() 153 struct drm_rect rect; in st7586_pipe_update() 176 struct drm_rect rect = { in st7586_pipe_enable()
|
D | gm12u320.c | 98 struct drm_rect rect; 403 struct drm_rect *dirty) in gm12u320_fb_mark_dirty() 419 struct drm_rect *rect = &gm12u320->fb_update.rect; in gm12u320_fb_mark_dirty() 556 struct drm_rect rect = { 0, 0, GM12U320_USER_WIDTH, GM12U320_HEIGHT }; in gm12u320_pipe_enable() 576 struct drm_rect rect; in gm12u320_pipe_update()
|
D | ili9225.c | 81 struct drm_rect *rect) in ili9225_fb_dirty() 164 struct drm_rect rect; in ili9225_pipe_update() 188 struct drm_rect rect = { in ili9225_pipe_enable()
|
/Linux-v6.6/drivers/gpu/drm/vkms/ |
D | vkms_plane.c | 113 memcpy(&frame_info->src, &new_state->src, sizeof(struct drm_rect)); in vkms_plane_atomic_update() 114 memcpy(&frame_info->dst, &new_state->dst, sizeof(struct drm_rect)); in vkms_plane_atomic_update() 115 memcpy(&frame_info->rotated, &new_state->dst, sizeof(struct drm_rect)); in vkms_plane_atomic_update()
|
D | vkms_drv.h | 30 struct drm_rect src, dst; 31 struct drm_rect rotated;
|
/Linux-v6.6/drivers/gpu/drm/hyperv/ |
D | hyperv_drm_modeset.c | 24 struct drm_rect *rect) in hyperv_blit_to_vram_rect() 44 struct drm_rect fullscreen = { in hyperv_blit_to_vram_fullscreen() 141 struct drm_rect rect; in hyperv_pipe_update()
|
D | hyperv_drm.h | 50 int hyperv_update_dirt(struct hv_device *hdev, struct drm_rect *rect);
|
/Linux-v6.6/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_kms.h | 109 struct drm_rect *clip, uint32_t src_x, uint32_t src_y); 120 struct drm_rect *bb); 577 struct drm_rect *r) in vmw_du_translate_to_crtc()
|