Home
last modified time | relevance | path

Searched refs:drm_rect (Results 1 – 25 of 57) sorted by relevance

123

/kernel/linux/linux-5.10/include/drm/
Ddrm_rect.h43 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 …]
Ddrm_format_helper.h10 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);
Ddrm_damage_helper.h56 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()
Ddrm_plane.h207 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()
Ddrm_mipi_dbi.h15 struct drm_rect;
170 struct drm_rect *clip, bool swap);
Ddrm_client.h157 int drm_client_framebuffer_flush(struct drm_client_buffer *buffer, struct drm_rect *rect);
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_rect.c44 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 …]
Ddrm_format_helper.c20 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()
Ddrm_plane_helper.c104 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()
Ddrm_damage_helper.c320 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/
Dtest-drm_damage_helper.c43 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 …]
Dtest-drm_rect.c16 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()
DMakefile5 test-drm_rect.o
/kernel/linux/linux-5.10/drivers/gpu/drm/meson/
Dmeson_vpp.h12 struct drm_rect;
23 struct drm_rect *input);
/kernel/linux/linux-5.10/drivers/gpu/drm/tiny/
Dst7586.c66 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()
Dgm12u320.c96 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()
Dili9225.c78 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()
Dcirrus.c314 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/
Ddpu_hw_sspp.h160 struct drm_rect src_rect;
161 struct drm_rect dst_rect;
Ddpu_crtc.h201 struct drm_rect lm_bounds[CRTC_DUAL_MIXERS];
/kernel/linux/linux-5.10/drivers/gpu/drm/vkms/
Dvkms_plane.c104 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()
Dvkms_drv.h26 struct drm_rect src, dst;
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.h108 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/
Dudl_modeset.c247 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/
Dvirtgpu_plane.c108 struct drm_rect *rect) in virtio_gpu_update_dumb_bo()
136 struct drm_rect rect; in virtio_gpu_primary_plane_update()

123