Lines Matching refs:rect
95 struct drm_rect rect; member
264 x1 = gm12u320->fb_update.rect.x1; in gm12u320_copy_fb_to_blocks()
265 x2 = gm12u320->fb_update.rect.x2; in gm12u320_copy_fb_to_blocks()
266 y1 = gm12u320->fb_update.rect.y1; in gm12u320_copy_fb_to_blocks()
267 y2 = gm12u320->fb_update.rect.y2; in gm12u320_copy_fb_to_blocks()
411 gm12u320->fb_update.rect = *dirty; in gm12u320_fb_mark_dirty()
415 struct drm_rect *rect = &gm12u320->fb_update.rect; in gm12u320_fb_mark_dirty() local
417 rect->x1 = min(rect->x1, dirty->x1); in gm12u320_fb_mark_dirty()
418 rect->y1 = min(rect->y1, dirty->y1); in gm12u320_fb_mark_dirty()
419 rect->x2 = max(rect->x2, dirty->x2); in gm12u320_fb_mark_dirty()
420 rect->y2 = max(rect->y2, dirty->y2); in gm12u320_fb_mark_dirty()
552 struct drm_rect rect = { 0, 0, GM12U320_USER_WIDTH, GM12U320_HEIGHT }; in gm12u320_pipe_enable() local
557 gm12u320_fb_mark_dirty(plane_state->fb, &shadow_plane_state->data[0], &rect); in gm12u320_pipe_enable()
572 struct drm_rect rect; in gm12u320_pipe_update() local
574 if (drm_atomic_helper_damage_merged(old_state, state, &rect)) in gm12u320_pipe_update()
575 gm12u320_fb_mark_dirty(state->fb, &shadow_plane_state->data[0], &rect); in gm12u320_pipe_update()