Home
last modified time | relevance | path

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

12

/Linux-v4.19/include/drm/
Ddrm_rect.h41 struct drm_rect { struct
84 static inline void drm_rect_adjust_size(struct drm_rect *r, int dw, int dh) in drm_rect_adjust_size()
101 static inline void drm_rect_translate(struct drm_rect *r, int dx, int dy) in drm_rect_translate()
117 static inline void drm_rect_downscale(struct drm_rect *r, int horz, int vert) in drm_rect_downscale()
132 static inline int drm_rect_width(const struct drm_rect *r) in drm_rect_width()
144 static inline int drm_rect_height(const struct drm_rect *r) in drm_rect_height()
156 static inline bool drm_rect_visible(const struct drm_rect *r) in drm_rect_visible()
169 static inline bool drm_rect_equals(const struct drm_rect *r1, in drm_rect_equals()
170 const struct drm_rect *r2) in drm_rect_equals()
176 bool drm_rect_intersect(struct drm_rect *r, const struct drm_rect *clip);
[all …]
Ddrm_plane.h167 struct drm_rect src, dst;
189 static inline struct drm_rect
192 struct drm_rect src = { in drm_plane_state_src()
201 static inline struct drm_rect
204 struct drm_rect dest = { in drm_plane_state_dest()
Ddrm_plane_helper.h44 struct drm_rect *src,
45 struct drm_rect *dest,
/Linux-v4.19/drivers/gpu/drm/
Ddrm_rect.c42 bool drm_rect_intersect(struct drm_rect *r1, const struct drm_rect *r2) in drm_rect_intersect()
80 bool drm_rect_clip_scaled(struct drm_rect *src, struct drm_rect *dst, in drm_rect_clip_scaled()
81 const struct drm_rect *clip) in drm_rect_clip_scaled()
157 int drm_rect_calc_hscale(const struct drm_rect *src, in drm_rect_calc_hscale()
158 const struct drm_rect *dst, in drm_rect_calc_hscale()
192 int drm_rect_calc_vscale(const struct drm_rect *src, in drm_rect_calc_vscale()
193 const struct drm_rect *dst, in drm_rect_calc_vscale()
233 int drm_rect_calc_hscale_relaxed(struct drm_rect *src, in drm_rect_calc_hscale_relaxed()
234 struct drm_rect *dst, in drm_rect_calc_hscale_relaxed()
287 int drm_rect_calc_vscale_relaxed(struct drm_rect *src, in drm_rect_calc_vscale_relaxed()
[all …]
Ddrm_plane_helper.c131 struct drm_rect *src, in drm_plane_helper_check_update()
132 struct drm_rect *dst, in drm_plane_helper_check_update()
229 struct drm_rect src = { in drm_primary_helper_update()
235 struct drm_rect dest = { in drm_primary_helper_update()
DMakefile15 drm_rect.o drm_vma_manager.o drm_flip_work.o \
Ddrm_atomic_helper.c728 struct drm_rect *src = &plane_state->src; in drm_atomic_helper_check_plane_state()
729 struct drm_rect *dst = &plane_state->dst; in drm_atomic_helper_check_plane_state()
731 struct drm_rect clip = {}; in drm_atomic_helper_check_plane_state()
/Linux-v4.19/drivers/gpu/drm/armada/
Darmada_hw.h319 static inline u32 armada_rect_hw_fp(struct drm_rect *r) in armada_rect_hw_fp()
324 static inline u32 armada_rect_hw(struct drm_rect *r) in armada_rect_hw()
329 static inline u32 armada_rect_yx(struct drm_rect *r) in armada_rect_yx()
/Linux-v4.19/drivers/gpu/drm/meson/
Dmeson_vpp.h32 struct drm_rect *input);
Dmeson_plane.c80 struct drm_rect src = { in meson_plane_atomic_update()
86 struct drm_rect dest = { in meson_plane_atomic_update()
Dmeson_vpp.c62 struct drm_rect *input) in meson_vpp_setup_interlace_vscaler_osd1()
Dmeson_crtc.c185 struct drm_rect dest = { in meson_crtc_irq()
/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_sspp.h167 struct drm_rect src_rect;
168 struct drm_rect dst_rect;
Ddpu_crtc.h296 struct drm_rect lm_bounds[CRTC_DUAL_MIXERS];
Ddpu_plane.c853 struct drm_rect src[R_MAX], dst[R_MAX]; in dpu_plane_validate_multirect_v2()
1060 static bool dpu_plane_validate_src(struct drm_rect *src, in dpu_plane_validate_src()
1061 struct drm_rect *fb_rect, in dpu_plane_validate_src()
1086 struct drm_rect src, dst, fb_rect = { 0 }; in dpu_plane_sspp_atomic_check()
1257 struct drm_rect src, dst; in dpu_plane_sspp_atomic_update()
Ddpu_crtc.c321 const struct drm_rect *lm_roi = &crtc_state->lm_bounds[lm_idx]; in _dpu_crtc_program_lm_output_roi()
774 struct drm_rect *r = &cstate->lm_bounds[i]; in _dpu_crtc_setup_lm_bounds()
1472 struct drm_rect crtc_rect = { 0 }; in dpu_crtc_atomic_check()
1508 struct drm_rect dst, clip = crtc_rect; in dpu_crtc_atomic_check()
1626 struct drm_rect left_rect, right_rect; in dpu_crtc_atomic_check()
Ddpu_trace.h719 TP_PROTO(uint32_t drm_id, int mixer, struct drm_rect *bounds),
724 __field( struct drm_rect *, bounds )
/Linux-v4.19/Documentation/gpu/
Ddrm-kms-helpers.rst259 .. kernel-doc:: include/drm/drm_rect.h
262 .. kernel-doc:: include/drm/drm_rect.h
265 .. kernel-doc:: drivers/gpu/drm/drm_rect.c
/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.c499 struct drm_rect src = drm_plane_state_src(new_state); in vmw_du_cursor_plane_atomic_check()
500 struct drm_rect dest = drm_plane_state_dest(new_state); in vmw_du_cursor_plane_atomic_check()
1512 struct drm_rect *rects) in vmw_kms_check_display_memory()
1515 struct drm_rect bounding_box = {0}; in vmw_kms_check_display_memory()
1582 struct drm_rect *rects; in vmw_kms_check_topology()
1587 rects = kcalloc(dev->mode_config.num_crtc, sizeof(struct drm_rect), in vmw_kms_check_topology()
2002 unsigned int num_rects, struct drm_rect *rects) in vmw_du_update_layout()
2386 struct drm_rect *drm_rects; in vmw_kms_update_layout_ioctl()
2391 struct drm_rect def_rect = {0, 0, 800, 600}; in vmw_kms_update_layout_ioctl()
2410 drm_rects = (struct drm_rect *)rects; in vmw_kms_update_layout_ioctl()
Dvmwgfx_blit.c261 struct drm_rect *rect = &diff->rect; in vmw_adjust_rect()
/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c32 struct drm_rect *src, struct drm_rect *dest);
302 struct drm_rect src = drm_plane_state_src(state); in mdp5_plane_atomic_check_with_state()
925 struct drm_rect *src, struct drm_rect *dest) in mdp5_plane_mode_set()
/Linux-v4.19/drivers/gpu/drm/zte/
Dzx_plane.c191 struct drm_rect *src = &state->src; in zx_vl_plane_atomic_update()
192 struct drm_rect *dst = &state->dst; in zx_vl_plane_atomic_update()
/Linux-v4.19/drivers/gpu/drm/i915/
Di915_trace.h239 DRM_RECT_FP_ARG((const struct drm_rect *)__entry->src),
240 DRM_RECT_ARG((const struct drm_rect *)__entry->dst))
Dintel_sprite.c1019 struct drm_rect *src = &state->base.src; in intel_check_sprite_plane()
1020 struct drm_rect *dst = &state->base.dst; in intel_check_sprite_plane()
/Linux-v4.19/drivers/gpu/drm/rcar-du/
Drcar_du_plane.c524 const struct drm_rect *dst = &state->state.dst; in rcar_du_plane_setup_format()

12