Lines Matching refs:clip
1447 const struct drm_rect *clip; in intel_psr2_program_plane_sel_fetch() local
1460 clip = &plane_state->psr2_sel_fetch_area; in intel_psr2_program_plane_sel_fetch()
1462 val = (clip->y1 + plane_state->uapi.dst.y1) << 16; in intel_psr2_program_plane_sel_fetch()
1468 y = (plane_state->uapi.src.y1 >> 16) + clip->y1; in intel_psr2_program_plane_sel_fetch()
1474 val = (drm_rect_height(clip) - 1) << 16; in intel_psr2_program_plane_sel_fetch()
1494 struct drm_rect *clip, bool full_update) in psr2_man_trk_ctl_calc() argument
1509 if (clip->y1 == -1) in psr2_man_trk_ctl_calc()
1513 val |= ADLP_PSR2_MAN_TRK_CTL_SU_REGION_START_ADDR(clip->y1); in psr2_man_trk_ctl_calc()
1514 val |= ADLP_PSR2_MAN_TRK_CTL_SU_REGION_END_ADDR(clip->y2 - 1); in psr2_man_trk_ctl_calc()
1516 drm_WARN_ON(crtc_state->uapi.crtc->dev, clip->y1 % 4 || clip->y2 % 4); in psr2_man_trk_ctl_calc()
1519 val |= PSR2_MAN_TRK_CTL_SU_REGION_START_ADDR(clip->y1 / 4 + 1); in psr2_man_trk_ctl_calc()
1520 val |= PSR2_MAN_TRK_CTL_SU_REGION_END_ADDR(clip->y2 / 4 + 1); in psr2_man_trk_ctl_calc()
1623 struct drm_rect clip; in intel_psr2_sel_fetch_update() local
1670 drm_atomic_for_each_plane_damage(&iter, &clip) { in intel_psr2_sel_fetch_update()
1671 if (drm_rect_intersect(&clip, &src)) in intel_psr2_sel_fetch_update()
1672 clip_area_update(&damaged_area, &clip); in intel_psr2_sel_fetch_update()