/kernel/linux/linux-5.10/include/drm/ |
D | drm_rect.h | 43 struct drm_rect { struct 82 static inline void drm_rect_init(struct drm_rect *r, int x, int y, in drm_rect_init() 103 static inline void drm_rect_adjust_size(struct drm_rect *r, int dw, int dh) in drm_rect_adjust_size() 120 static inline void drm_rect_translate(struct drm_rect *r, int dx, int dy) in drm_rect_translate() 137 static inline void drm_rect_translate_to(struct drm_rect *r, int x, int y) in drm_rect_translate_to() 150 static inline void drm_rect_downscale(struct drm_rect *r, int horz, int vert) in drm_rect_downscale() 165 static inline int drm_rect_width(const struct drm_rect *r) in drm_rect_width() 177 static inline int drm_rect_height(const struct drm_rect *r) in drm_rect_height() 189 static inline bool drm_rect_visible(const struct drm_rect *r) in drm_rect_visible() 202 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);
|
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 | 207 struct drm_rect src, dst; 229 static inline struct drm_rect 232 struct drm_rect src = { in drm_plane_state_src() 241 static inline struct drm_rect 244 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);
|
D | drm_client.h | 157 int drm_client_framebuffer_flush(struct drm_client_buffer *buffer, struct drm_rect *rect);
|
/kernel/linux/linux-5.10/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() 64 struct drm_rect *clip) in drm_fb_memcpy_dstclip() 96 struct drm_rect *clip, bool cached) in drm_fb_swab() 171 struct drm_rect *clip, bool swab) in drm_fb_xrgb8888_to_rgb565() 216 struct drm_rect *clip, bool swab) in drm_fb_xrgb8888_to_rgb565_dstclip() 268 struct drm_rect *clip) in drm_fb_xrgb8888_to_rgb888_dstclip() 309 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() 163 struct drm_rect src = { in drm_primary_helper_update() 169 struct drm_rect dest = { in drm_primary_helper_update()
|
D | drm_damage_helper.c | 320 struct drm_rect *rect) in drm_atomic_helper_damage_iter_next() 361 struct drm_rect *rect) in drm_atomic_helper_damage_merged() 364 struct drm_rect clip; in drm_atomic_helper_damage_merged()
|
/kernel/linux/linux-5.10/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 …]
|
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
|
/kernel/linux/linux-5.10/drivers/gpu/drm/meson/ |
D | meson_vpp.h | 12 struct drm_rect; 23 struct drm_rect *input);
|
/kernel/linux/linux-5.10/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() 159 struct drm_rect rect; in st7586_pipe_update() 175 struct drm_rect rect = { in st7586_pipe_enable()
|
D | gm12u320.c | 96 struct drm_rect rect; 412 struct drm_rect *dirty) in gm12u320_fb_mark_dirty() 427 struct drm_rect *rect = &gm12u320->fb_update.rect; in gm12u320_fb_mark_dirty() 563 struct drm_rect rect = { 0, 0, GM12U320_USER_WIDTH, GM12U320_HEIGHT }; in gm12u320_pipe_enable() 581 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()
|
D | cirrus.c | 314 struct drm_rect *rect) in cirrus_fb_blit_rect() 357 struct drm_rect fullscreen = { in cirrus_fb_blit_fullscreen() 453 struct drm_rect rect; in cirrus_pipe_update()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_sspp.h | 160 struct drm_rect src_rect; 161 struct drm_rect dst_rect;
|
D | dpu_crtc.h | 201 struct drm_rect lm_bounds[CRTC_DUAL_MIXERS];
|
/kernel/linux/linux-5.10/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 | 26 struct drm_rect src, dst;
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/udl/ |
D | udl_modeset.c | 247 static int udl_aligned_damage_clip(struct drm_rect *clip, int x, int y, in udl_aligned_damage_clip() 277 struct drm_rect clip; in udl_handle_damage() 437 struct drm_rect rect; in udl_simple_display_pipe_update()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/ |
D | virtgpu_plane.c | 108 struct drm_rect *rect) in virtio_gpu_update_dumb_bo() 136 struct drm_rect rect; in virtio_gpu_primary_plane_update()
|