| /netbsd-src/sys/external/bsd/drm2/dist/include/drm/ |
| H A D | drm_rect.h | 45 struct drm_rect { struct 84 static inline void drm_rect_init(struct drm_rect *r, int x, int y, in drm_rect_init() 105 static inline void drm_rect_adjust_size(struct drm_rect *r, int dw, int dh) in drm_rect_adjust_size() 122 static inline void drm_rect_translate(struct drm_rect *r, int dx, int dy) in drm_rect_translate() 139 static inline void drm_rect_translate_to(struct drm_rect *r, int x, int y) in drm_rect_translate_to() 152 static inline void drm_rect_downscale(struct drm_rect *r, int horz, int vert) in drm_rect_downscale() 167 static inline int drm_rect_width(const struct drm_rect *r) in drm_rect_width() 179 static inline int drm_rect_height(const struct drm_rect *r) in drm_rect_height() 191 static inline bool drm_rect_visible(const struct drm_rect *r) in drm_rect_visible() 204 static inline bool drm_rect_equals(const struct drm_rect *r1, in drm_rect_equals() [all …]
|
| H A D | drm_damage_helper.h | 58 struct drm_rect plane_src; 60 const struct drm_rect *clips; 82 struct drm_rect *rect); 85 struct drm_rect *rect); 98 static inline struct drm_rect * 101 return (struct drm_rect *)drm_plane_get_damage_clips(state); in drm_helper_get_plane_damage_clips()
|
| H A D | drm_plane.h | 209 struct drm_rect src, dst; 231 static inline struct drm_rect 234 struct drm_rect src = { in drm_plane_state_src() 243 static inline struct drm_rect 246 struct drm_rect dest = { in drm_plane_state_dest()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/ |
| H A D | drm_rect.c | 50 bool drm_rect_intersect(struct drm_rect *r1, const struct drm_rect *r2) in drm_rect_intersect() 98 bool drm_rect_clip_scaled(struct drm_rect *src, struct drm_rect *dst, in drm_rect_clip_scaled() 99 const struct drm_rect *clip) in drm_rect_clip_scaled() 175 int drm_rect_calc_hscale(const struct drm_rect *src, in drm_rect_calc_hscale() 176 const struct drm_rect *dst, in drm_rect_calc_hscale() 210 int drm_rect_calc_vscale(const struct drm_rect *src, in drm_rect_calc_vscale() 211 const struct drm_rect *dst, in drm_rect_calc_vscale() 234 void drm_rect_debug_print(const char *prefix, const struct drm_rect *r, bool fixed_point) in drm_rect_debug_print() 259 void drm_rect_rotate(struct drm_rect *r, in drm_rect_rotate() 263 struct drm_rect tmp; in drm_rect_rotate() [all …]
|
| H A D | drm_plane_helper.c | 107 struct drm_rect *src, in drm_plane_helper_check_update() 108 struct drm_rect *dst, in drm_plane_helper_check_update() 167 struct drm_rect src = { in drm_primary_helper_update() 173 struct drm_rect dest = { in drm_primary_helper_update()
|
| H A D | drm_damage_helper.c | 325 struct drm_rect *rect) in drm_atomic_helper_damage_iter_next() 366 struct drm_rect *rect) in drm_atomic_helper_damage_merged() 369 struct drm_rect clip; in drm_atomic_helper_damage_merged()
|
| H A D | Makefile | 13 drm_rect.o drm_vma_manager.o drm_flip_work.o \
|
| H A D | drm_atomic.c | 664 struct drm_rect src = drm_plane_state_src(state); in drm_atomic_plane_print_state() 665 struct drm_rect dest = drm_plane_state_dest(state); in drm_atomic_plane_print_state()
|
| H A D | drm_atomic_helper.c | 775 struct drm_rect *src = &plane_state->src; in drm_atomic_helper_check_plane_state() 776 struct drm_rect *dst = &plane_state->dst; in drm_atomic_helper_check_plane_state() 778 struct drm_rect clip = {}; in drm_atomic_helper_check_plane_state()
|
| H A D | drm_atomic_uapi.c | 588 sizeof(struct drm_rect), in drm_atomic_plane_set_property()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
| H A D | vmwgfx_kms.h | 110 struct drm_rect *clip, uint32_t src_x, uint32_t src_y); 121 struct drm_rect *bb); 573 struct drm_rect *r) in vmw_du_translate_to_crtc()
|
| H A D | vmwgfx_kms.c | 1459 struct drm_rect *rects) in vmw_kms_check_display_memory() 1462 struct drm_rect bounding_box = {0}; in vmw_kms_check_display_memory() 1610 struct drm_rect *rects; in vmw_kms_check_topology() 1615 rects = kcalloc(dev->mode_config.num_crtc, sizeof(struct drm_rect), in vmw_kms_check_topology() 2027 unsigned int num_rects, struct drm_rect *rects) in vmw_du_update_layout() 2348 struct drm_rect *drm_rects; in vmw_kms_update_layout_ioctl() 2353 struct drm_rect def_rect = {0, 0, 800, 600}; in vmw_kms_update_layout_ioctl() 2375 drm_rects = (struct drm_rect *)rects; in vmw_kms_update_layout_ioctl() 2804 struct drm_rect clip; in vmw_du_helper_plane_update() 2805 struct drm_rect bb; in vmw_du_helper_plane_update()
|
| H A D | vmwgfx_stdu.c | 1229 void *cmd, struct drm_rect *clip, in vmw_stdu_bo_populate_clip() 1248 void *cmd, struct drm_rect *bb) in vmw_stdu_bo_populate_update() 1279 void *cmd, struct drm_rect *clip, in vmw_stdu_bo_clip_cpu() 1293 struct drm_rect *bb) in vmw_stdu_bo_populate_update_cpu() 1447 struct drm_rect clip; in vmw_stdu_surface_update_proxy() 1502 struct drm_rect *clip, uint32_t fb_x, in vmw_stdu_surface_populate_clip() 1522 struct drm_rect *bb) in vmw_stdu_surface_populate_update()
|
| H A D | vmwgfx_scrn.c | 507 void *cmd, struct drm_rect *clip, in vmw_sou_bo_populate_clip() 525 void *cmd, struct drm_rect *bb) in vmw_stud_bo_post_clip() 623 void *cmd, struct drm_rect *clip, in vmw_sou_surface_clip_rect() 641 void *cmd, struct drm_rect *bb) in vmw_sou_surface_post_clip() 645 struct drm_rect src_bb; in vmw_sou_surface_post_clip()
|
| H A D | vmwgfx_blit.c | 266 struct drm_rect *rect = &diff->rect; in vmw_adjust_rect()
|
| H A D | vmwgfx_drv.h | 1415 struct drm_rect rect;
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/selftests/ |
| H A D | Makefile | 5 test-drm_rect.o
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/virtio/ |
| H A D | virtgpu_plane.c | 113 struct drm_rect *rect) in virtio_gpu_update_dumb_bo() 141 struct drm_rect rect; in virtio_gpu_primary_plane_update()
|
| /netbsd-src/sys/modules/drmkms/ |
| H A D | Makefile | 114 SRCS+= drm_rect.c
|
| /netbsd-src/sys/arch/arm/rockchip/ |
| H A D | rk_vop.c | 311 struct drm_rect *src = &plane->state->src; in rk_vop_plane_atomic_update() 312 struct drm_rect *dst = &plane->state->dst; in rk_vop_plane_atomic_update()
|
| /netbsd-src/sys/external/bsd/drm2/drm/ |
| H A D | files.drmkms | 179 file external/bsd/drm2/dist/drm/drm_rect.c drmkms
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/display/ |
| H A D | intel_sprite.c | 260 struct drm_rect *src = &plane_state->uapi.src; in intel_plane_check_src_coordinates() 1870 const struct drm_rect *src = &plane_state->uapi.src; in g4x_sprite_check_scaling() 1871 const struct drm_rect *dst = &plane_state->uapi.dst; in g4x_sprite_check_scaling()
|
| H A D | intel_display.c | 2977 struct drm_rect r; in setup_fb_rotation() 3204 struct drm_rect r; in intel_plane_remap_gtt()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/ |
| H A D | i915_debugfs.c | 2540 struct drm_rect src, dst; in intel_plane_uapi_info()
|