| /Linux-v5.15/include/drm/ |
| D | drm_rect.h | 46 struct drm_rect { struct 85 static inline void drm_rect_init(struct drm_rect *r, int x, int y, in drm_rect_init() 106 static inline void drm_rect_adjust_size(struct drm_rect *r, int dw, int dh) in drm_rect_adjust_size() 123 static inline void drm_rect_translate(struct drm_rect *r, int dx, int dy) in drm_rect_translate() 140 static inline void drm_rect_translate_to(struct drm_rect *r, int x, int y) in drm_rect_translate_to() 153 static inline void drm_rect_downscale(struct drm_rect *r, int horz, int vert) in drm_rect_downscale() 168 static inline int drm_rect_width(const struct drm_rect *r) in drm_rect_width() 180 static inline int drm_rect_height(const struct drm_rect *r) in drm_rect_height() 192 static inline bool drm_rect_visible(const struct drm_rect *r) in drm_rect_visible() 205 static inline bool drm_rect_equals(const struct drm_rect *r1, in drm_rect_equals() [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, bool cached); 21 struct drm_rect *clip, bool swab); 24 struct drm_rect *clip, bool swab); 27 struct drm_rect *clip); 29 struct drm_rect *clip); 34 struct drm_rect *rect);
|
| 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 | 215 struct drm_rect src, dst; 244 static inline struct drm_rect 247 struct drm_rect src = { in drm_plane_state_src() 256 static inline struct drm_rect 259 struct drm_rect dest = { in drm_plane_state_dest()
|
| D | drm_mipi_dbi.h | 15 struct drm_rect; 170 struct drm_rect *clip, bool swap);
|
| /Linux-v5.15/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 | 20 static unsigned int clip_offset(struct drm_rect *clip, in clip_offset() 37 struct drm_rect *clip) in drm_fb_memcpy() 65 struct drm_rect *clip) in drm_fb_memcpy_dstclip() 97 struct drm_rect *clip, bool cached) in drm_fb_swab() 172 struct drm_rect *clip, bool swab) in drm_fb_xrgb8888_to_rgb565() 217 struct drm_rect *clip, bool swab) in drm_fb_xrgb8888_to_rgb565_dstclip() 269 struct drm_rect *clip) in drm_fb_xrgb8888_to_rgb888_dstclip() 310 struct drm_rect *clip) in drm_fb_xrgb8888_to_gray8() 370 struct drm_rect *clip) in drm_fb_blit_rect_dstclip() 424 struct drm_rect fullscreen = { in drm_fb_blit_dstclip()
|
| 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 | 231 iter->clips = (struct drm_rect *)drm_plane_get_damage_clips(state); in drm_atomic_helper_damage_iter_init() 266 struct drm_rect *rect) in drm_atomic_helper_damage_iter_next() 307 struct drm_rect *rect) in drm_atomic_helper_damage_merged() 310 struct drm_rect clip; in drm_atomic_helper_damage_merged()
|
| /Linux-v5.15/drivers/gpu/drm/selftests/ |
| D | test-drm_damage_helper.c | 72 static bool check_damage_clip(struct drm_plane_state *state, struct drm_rect *r, in check_damage_clip() 121 struct drm_rect clip; in igt_damage_iter_no_damage() 142 struct drm_rect clip; in igt_damage_iter_no_damage_fractional_src() 165 struct drm_rect clip; in igt_damage_iter_no_damage_src_moved() 187 struct drm_rect clip; in igt_damage_iter_no_damage_fractional_src_moved() 210 struct drm_rect clip; in igt_damage_iter_no_damage_not_visible() 233 struct drm_rect clip; in igt_damage_iter_no_damage_no_crtc() 255 struct drm_rect clip; in igt_damage_iter_no_damage_no_fb() 281 struct drm_rect clip; in igt_damage_iter_simple_damage() 307 struct drm_rect clip; in igt_damage_iter_single_damage() [all …]
|
| D | test-drm_rect.c | 16 struct drm_rect src, dst, clip; in igt_drm_rect_clip_scaled_div_by_zero() 42 struct drm_rect src, dst, clip; in igt_drm_rect_clip_scaled_not_clipped() 98 struct drm_rect src, dst, clip; in igt_drm_rect_clip_scaled_clipped() 202 struct drm_rect src, dst, clip; in igt_drm_rect_clip_scaled_signed_vs_unsigned()
|
| D | Makefile | 5 test-drm_rect.o
|
| /Linux-v5.15/drivers/gpu/drm/i915/display/ |
| D | intel_atomic_plane.h | 13 struct drm_rect; 20 unsigned int intel_adjusted_rate(const struct drm_rect *src, 21 const struct drm_rect *dst,
|
| D | intel_atomic_plane.c | 139 unsigned int intel_adjusted_rate(const struct drm_rect *src, in intel_adjusted_rate() 140 const struct drm_rect *dst, in intel_adjusted_rate() 553 struct drm_rect *src = &plane_state->uapi.src; in intel_atomic_plane_check_clipping() 554 struct drm_rect *dst = &plane_state->uapi.dst; in intel_atomic_plane_check_clipping() 556 struct drm_rect clip = {}; in intel_atomic_plane_check_clipping()
|
| /Linux-v5.15/drivers/gpu/drm/meson/ |
| D | meson_vpp.h | 12 struct drm_rect; 23 struct drm_rect *input);
|
| /Linux-v5.15/drivers/gpu/drm/gud/ |
| D | gud_pipe.c | 56 struct drm_rect *rect) in gud_xrgb8888_to_r124() 102 struct drm_rect *rect) in gud_xrgb8888_to_color() 150 const struct drm_format_info *format, struct drm_rect *rect, in gud_prep_flush() 274 const struct drm_format_info *format, struct drm_rect *rect) in gud_flush_rect() 322 static void gud_add_damage(struct gud_device *gdrm, struct drm_rect *damage) in gud_add_damage() 331 struct drm_rect *damage) in gud_retry_failed_flush() 358 struct drm_rect damage; in gud_flush_work() 388 struct drm_rect rect = damage; in gud_flush_work() 416 struct drm_rect *damage) in gud_fb_queue_damage() 562 struct drm_rect damage; in gud_pipe_update()
|
| /Linux-v5.15/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() 109 static void st7586_fb_dirty(struct drm_framebuffer *fb, struct drm_rect *rect) in st7586_fb_dirty() 153 struct drm_rect rect; in st7586_pipe_update() 169 struct drm_rect rect = { in st7586_pipe_enable()
|
| D | gm12u320.c | 95 struct drm_rect rect; 399 struct drm_rect *dirty) in gm12u320_fb_mark_dirty() 415 struct drm_rect *rect = &gm12u320->fb_update.rect; in gm12u320_fb_mark_dirty() 552 struct drm_rect rect = { 0, 0, GM12U320_USER_WIDTH, GM12U320_HEIGHT }; in gm12u320_pipe_enable() 572 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() 165 struct drm_rect rect; in ili9225_pipe_update() 182 struct drm_rect rect = { in ili9225_pipe_enable()
|
| /Linux-v5.15/drivers/gpu/drm/hyperv/ |
| D | hyperv_drm_modeset.c | 23 struct drm_rect *rect) in hyperv_blit_to_vram_rect() 40 struct drm_rect fullscreen = { in hyperv_blit_to_vram_fullscreen() 134 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-v5.15/drivers/gpu/drm/msm/disp/dpu1/ |
| D | dpu_hw_sspp.h | 161 struct drm_rect src_rect; 162 struct drm_rect dst_rect;
|
| /Linux-v5.15/drivers/gpu/drm/vkms/ |
| D | vkms_plane.c | 111 memcpy(&composer->src, &new_state->src, sizeof(struct drm_rect)); in vkms_plane_atomic_update() 112 memcpy(&composer->dst, &new_state->dst, sizeof(struct drm_rect)); in vkms_plane_atomic_update()
|
| /Linux-v5.15/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()
|
| /Linux-v5.15/drivers/gpu/drm/udl/ |
| D | udl_modeset.c | 245 static int udl_aligned_damage_clip(struct drm_rect *clip, int x, int y, in udl_aligned_damage_clip() 275 struct drm_rect clip; in udl_handle_damage() 419 struct drm_rect rect; in udl_simple_display_pipe_update()
|