Searched refs:num_clips (Results 1 - 9 of 9) sorted by relevance

/openbsd-current/sys/dev/pci/drm/include/drm/
H A Ddrm_damage_helper.h60 uint32_t num_clips; member in struct:drm_atomic_helper_damage_iter
72 unsigned int num_clips);
H A Ddrm_framebuffer.h100 unsigned num_clips);
/openbsd-current/sys/dev/pci/drm/
H A Ddrm_damage_helper.c40 uint32_t num_clips, uint32_t src_inc)
42 while (num_clips > 0) {
49 num_clips--;
94 * @num_clips: Count of clip in clips.
97 * during plane update. If num_clips is 0 then this helper will do a full plane
110 unsigned int num_clips)
138 num_clips /= 2;
141 rects = kcalloc(num_clips, sizeof(*rects), GFP_KERNEL);
147 convert_clip_rect_to_rect(clips, rects, num_clips, inc);
149 num_clips * sizeo
38 convert_clip_rect_to_rect(const struct drm_clip_rect *src, struct drm_mode_rect *dest, uint32_t num_clips, uint32_t src_inc) argument
107 drm_atomic_helper_dirtyfb(struct drm_framebuffer *fb, struct drm_file *file_priv, unsigned int flags, unsigned int color, struct drm_clip_rect *clips, unsigned int num_clips) argument
[all...]
H A Ddrm_framebuffer.c703 int num_clips; local
713 num_clips = r->num_clips;
716 if (!num_clips != !clips_ptr) {
724 if (flags & DRM_MODE_FB_DIRTY_ANNOTATE_COPY && (num_clips % 2)) {
729 if (num_clips && clips_ptr) {
730 if (num_clips < 0 || num_clips > DRM_MODE_FB_DIRTY_MAX_CLIPS) {
734 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL);
741 num_clips * sizeo
[all...]
H A Ddrm_atomic.c610 uint32_t num_clips; local
686 num_clips = drm_plane_get_damage_clips_count(new_plane_state);
689 while (num_clips > 0) {
703 num_clips--;
/openbsd-current/sys/dev/pci/drm/include/uapi/drm/
H A Ddrm_mode.h762 * the number of updated regions are half of num_clips given,
775 __u32 num_clips; member in struct:drm_mode_fb_dirty_cmd
/openbsd-current/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_display.c536 struct drm_clip_rect *clips, unsigned int num_clips)
543 num_clips);
534 amdgpu_dirtyfb(struct drm_framebuffer *fb, struct drm_file *file, unsigned int flags, unsigned int color, struct drm_clip_rect *clips, unsigned int num_clips) argument
/openbsd-current/sys/dev/pci/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c5148 u32 num_clips; local
5165 num_clips = drm_plane_get_damage_clips_count(new_plane_state);
5169 if (!num_clips || num_clips > DC_MAX_DIRTY_RECTS)
5172 for (; flip_addrs->dirty_rect_count < num_clips; clips++)
5197 "[PLANE:%d] PSR bb_changed:%d fb_changed:%d num_clips:%d\n",
5199 bb_changed, fb_changed, num_clips);
5203 if ((num_clips + (bb_changed ? 2 : 0)) > DC_MAX_DIRTY_RECTS)
5221 if (num_clips) {
5222 for (; i < num_clips; clip
[all...]
/openbsd-current/sys/dev/pci/drm/i915/display/
H A Dintel_fb.c1916 unsigned int num_clips)
1912 intel_user_framebuffer_dirty(struct drm_framebuffer *fb, struct drm_file *file, unsigned int flags, unsigned int color, struct drm_clip_rect *clips, unsigned int num_clips) argument

Completed in 150 milliseconds