Lines Matching full:damage
329 struct drm_rect damage; in appletbdrm_primary_plane_helper_atomic_check() local
347 drm_atomic_for_each_plane_damage(&iter, &damage) { in appletbdrm_primary_plane_helper_atomic_check()
348 frames_size += struct_size((struct appletbdrm_frame *)0, buf, rect_size(&damage)); in appletbdrm_primary_plane_helper_atomic_check()
388 struct drm_rect damage; in appletbdrm_flush_damage() local
412 drm_atomic_for_each_plane_damage(&iter, &damage) { in appletbdrm_flush_damage()
415 u32 buf_size = rect_size(&damage); in appletbdrm_flush_damage()
417 if (!drm_rect_intersect(&dst_clip, &damage)) in appletbdrm_flush_damage()
425 frame->begin_x = cpu_to_le16(damage.y1); in appletbdrm_flush_damage()
426 frame->begin_y = cpu_to_le16(adev->height - damage.x2); in appletbdrm_flush_damage()
427 frame->width = cpu_to_le16(drm_rect_height(&damage)); in appletbdrm_flush_damage()
428 frame->height = cpu_to_le16(drm_rect_width(&damage)); in appletbdrm_flush_damage()
433 …drm_fb_xrgb8888_to_bgr888(&dst, NULL, &shadow_plane_state->data[0], fb, &damage, &shadow_plane_sta… in appletbdrm_flush_damage()
436 drm_fb_memcpy(&dst, NULL, &shadow_plane_state->data[0], fb, &damage); in appletbdrm_flush_damage()