Lines Matching refs:clip
1526 const struct drm_rect *clip; in intel_psr2_program_plane_sel_fetch() local
1539 clip = &plane_state->psr2_sel_fetch_area; in intel_psr2_program_plane_sel_fetch()
1541 val = (clip->y1 + plane_state->uapi.dst.y1) << 16; in intel_psr2_program_plane_sel_fetch()
1547 y = (plane_state->uapi.src.y1 >> 16) + clip->y1; in intel_psr2_program_plane_sel_fetch()
1557 val = (drm_rect_height(clip) - 1) << 16; in intel_psr2_program_plane_sel_fetch()
1575 struct drm_rect *clip, bool full_update) in psr2_man_trk_ctl_calc() argument
1590 if (clip->y1 == -1) in psr2_man_trk_ctl_calc()
1594 val |= ADLP_PSR2_MAN_TRK_CTL_SU_REGION_START_ADDR(clip->y1); in psr2_man_trk_ctl_calc()
1595 val |= ADLP_PSR2_MAN_TRK_CTL_SU_REGION_END_ADDR(clip->y2); in psr2_man_trk_ctl_calc()
1597 drm_WARN_ON(crtc_state->uapi.crtc->dev, clip->y1 % 4 || clip->y2 % 4); in psr2_man_trk_ctl_calc()
1600 val |= PSR2_MAN_TRK_CTL_SU_REGION_START_ADDR(clip->y1 / 4 + 1); in psr2_man_trk_ctl_calc()
1601 val |= PSR2_MAN_TRK_CTL_SU_REGION_END_ADDR(clip->y2 / 4 + 1); in psr2_man_trk_ctl_calc()
1722 struct drm_rect clip; in intel_psr2_sel_fetch_update() local
1772 drm_atomic_for_each_plane_damage(&iter, &clip) { in intel_psr2_sel_fetch_update()
1773 if (drm_rect_intersect(&clip, &src)) in intel_psr2_sel_fetch_update()
1774 clip_area_update(&damaged_area, &clip); in intel_psr2_sel_fetch_update()