Lines Matching refs:clip
1542 const struct drm_rect *clip; in intel_psr2_program_plane_sel_fetch() local
1555 clip = &plane_state->psr2_sel_fetch_area; in intel_psr2_program_plane_sel_fetch()
1557 val = (clip->y1 + plane_state->uapi.dst.y1) << 16; in intel_psr2_program_plane_sel_fetch()
1568 y = plane_state->view.color_plane[color_plane].y + clip->y1; in intel_psr2_program_plane_sel_fetch()
1570 y = plane_state->view.color_plane[color_plane].y + clip->y1 / 2; in intel_psr2_program_plane_sel_fetch()
1578 val = (drm_rect_height(clip) - 1) << 16; in intel_psr2_program_plane_sel_fetch()
1609 struct drm_rect *clip, bool full_update) in psr2_man_trk_ctl_calc() argument
1627 if (clip->y1 == -1) in psr2_man_trk_ctl_calc()
1631 val |= ADLP_PSR2_MAN_TRK_CTL_SU_REGION_START_ADDR(clip->y1); in psr2_man_trk_ctl_calc()
1632 val |= ADLP_PSR2_MAN_TRK_CTL_SU_REGION_END_ADDR(clip->y2 - 1); in psr2_man_trk_ctl_calc()
1634 drm_WARN_ON(crtc_state->uapi.crtc->dev, clip->y1 % 4 || clip->y2 % 4); in psr2_man_trk_ctl_calc()
1636 val |= PSR2_MAN_TRK_CTL_SU_REGION_START_ADDR(clip->y1 / 4 + 1); in psr2_man_trk_ctl_calc()
1637 val |= PSR2_MAN_TRK_CTL_SU_REGION_END_ADDR(clip->y2 / 4 + 1); in psr2_man_trk_ctl_calc()