/Linux-v4.19/include/drm/ |
D | drm_rect.h | 41 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 …]
|
D | drm_plane.h | 167 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()
|
D | drm_plane_helper.h | 44 struct drm_rect *src, 45 struct drm_rect *dest,
|
/Linux-v4.19/drivers/gpu/drm/ |
D | drm_rect.c | 42 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 …]
|
D | drm_plane_helper.c | 131 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()
|
D | Makefile | 15 drm_rect.o drm_vma_manager.o drm_flip_work.o \
|
D | drm_atomic_helper.c | 728 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/ |
D | armada_hw.h | 319 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/ |
D | meson_vpp.h | 32 struct drm_rect *input);
|
D | meson_plane.c | 80 struct drm_rect src = { in meson_plane_atomic_update() 86 struct drm_rect dest = { in meson_plane_atomic_update()
|
D | meson_vpp.c | 62 struct drm_rect *input) in meson_vpp_setup_interlace_vscaler_osd1()
|
D | meson_crtc.c | 185 struct drm_rect dest = { in meson_crtc_irq()
|
/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_sspp.h | 167 struct drm_rect src_rect; 168 struct drm_rect dst_rect;
|
D | dpu_crtc.h | 296 struct drm_rect lm_bounds[CRTC_DUAL_MIXERS];
|
D | dpu_plane.c | 853 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()
|
D | dpu_crtc.c | 321 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()
|
D | dpu_trace.h | 719 TP_PROTO(uint32_t drm_id, int mixer, struct drm_rect *bounds), 724 __field( struct drm_rect *, bounds )
|
/Linux-v4.19/Documentation/gpu/ |
D | drm-kms-helpers.rst | 259 .. 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/ |
D | vmwgfx_kms.c | 499 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()
|
D | vmwgfx_blit.c | 261 struct drm_rect *rect = &diff->rect; in vmw_adjust_rect()
|
/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_plane.c | 32 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/ |
D | zx_plane.c | 191 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/ |
D | i915_trace.h | 239 DRM_RECT_FP_ARG((const struct drm_rect *)__entry->src), 240 DRM_RECT_ARG((const struct drm_rect *)__entry->dst))
|
D | intel_sprite.c | 1019 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/ |
D | rcar_du_plane.c | 524 const struct drm_rect *dst = &state->state.dst; in rcar_du_plane_setup_format()
|