Lines Matching refs:rect
78 static void ili9225_fb_dirty(struct drm_framebuffer *fb, struct drm_rect *rect)
82 unsigned int height = rect->y2 - rect->y1;
83 unsigned int width = rect->x2 - rect->x1;
97 DRM_DEBUG_KMS("Flushing [FB:%d] " DRM_RECT_FMT "\n", fb->base.id, DRM_RECT_ARG(rect));
102 ret = mipi_dbi_buf_copy(dbidev->tx_buf, fb, rect, swap);
111 x1 = rect->x1;
112 x2 = rect->x2 - 1;
113 y1 = rect->y1;
114 y2 = rect->y2 - 1;
119 x1 = rect->y1;
120 x2 = rect->y2 - 1;
121 y1 = fb->width - rect->x2;
122 y2 = fb->width - rect->x1 - 1;
127 x1 = fb->width - rect->x2;
128 x2 = fb->width - rect->x1 - 1;
129 y1 = fb->height - rect->y2;
130 y2 = fb->height - rect->y1 - 1;
135 x1 = fb->height - rect->y2;
136 x2 = fb->height - rect->y1 - 1;
137 y1 = rect->x1;
138 y2 = rect->x2 - 1;
165 struct drm_rect rect;
170 if (drm_atomic_helper_damage_merged(old_state, state, &rect))
171 ili9225_fb_dirty(state->fb, &rect);
182 struct drm_rect rect = {
278 ili9225_fb_dirty(fb, &rect);