Home
last modified time | relevance | path

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

123

/Linux-v6.6/include/drm/
Ddrm_rect.h46 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 …]
Ddrm_format_helper.h14 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 …]
Ddrm_damage_helper.h56 struct drm_rect plane_src;
58 const struct drm_rect *clips;
79 struct drm_rect *rect);
82 struct drm_rect *rect);
Ddrm_plane.h213 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()
Ddrm_mipi_dbi.h15 struct drm_rect;
195 struct drm_rect *clip, bool swap);
/Linux-v6.6/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.c23 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 …]
Ddrm_damage_helper.c227 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()
Ddrm_plane_helper.c97 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/
Ddrm_damage_helper_test.c95 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 …]
Ddrm_rect_test.c16 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 …]
Ddrm_plane_helper_test.c86 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/
Dintel_atomic_plane.h13 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/
Dmeson_vpp.h12 struct drm_rect;
25 struct drm_rect *input);
/Linux-v6.6/drivers/gpu/drm/gud/
Dgud_pipe.c54 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/
Ddpu_hw_wb.h20 struct drm_rect roi;
21 struct drm_rect crop;
Ddpu_hw_sspp.h162 struct drm_rect src_rect;
163 struct drm_rect dst_rect;
/Linux-v6.6/drivers/gpu/drm/tiny/
Dst7586.c67 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()
Dgm12u320.c98 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()
Dili9225.c81 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/
Dvkms_plane.c113 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()
Dvkms_drv.h30 struct drm_rect src, dst;
31 struct drm_rect rotated;
/Linux-v6.6/drivers/gpu/drm/hyperv/
Dhyperv_drm_modeset.c24 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()
Dhyperv_drm.h50 int hyperv_update_dirt(struct hv_device *hdev, struct drm_rect *rect);
/Linux-v6.6/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.h109 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()

123