Searched refs:vc4_pstate (Results 1 – 1 of 1) sorted by relevance
462 vc4_pstate->crtc_x = DIV_ROUND_CLOSEST(vc4_pstate->crtc_x * in vc4_plane_margins_adj()465 vc4_pstate->crtc_x += left; in vc4_plane_margins_adj()466 if (vc4_pstate->crtc_x > crtc_state->mode.hdisplay - right) in vc4_plane_margins_adj()467 vc4_pstate->crtc_x = crtc_state->mode.hdisplay - right; in vc4_plane_margins_adj()470 vc4_pstate->crtc_y = DIV_ROUND_CLOSEST(vc4_pstate->crtc_y * in vc4_plane_margins_adj()473 vc4_pstate->crtc_y += top; in vc4_plane_margins_adj()474 if (vc4_pstate->crtc_y > crtc_state->mode.vdisplay - bottom) in vc4_plane_margins_adj()475 vc4_pstate->crtc_y = crtc_state->mode.vdisplay - bottom; in vc4_plane_margins_adj()477 vc4_pstate->crtc_w = DIV_ROUND_CLOSEST(vc4_pstate->crtc_w * in vc4_plane_margins_adj()480 vc4_pstate->crtc_h = DIV_ROUND_CLOSEST(vc4_pstate->crtc_h * in vc4_plane_margins_adj()[all …]