Home
last modified time | relevance | path

Searched refs:vc4_pstate (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/gpu/drm/vc4/
A Dvc4_plane.c302 vc4_pstate->crtc_x = DIV_ROUND_CLOSEST(vc4_pstate->crtc_x * in vc4_plane_margins_adj()
305 vc4_pstate->crtc_x += left; in vc4_plane_margins_adj()
306 if (vc4_pstate->crtc_x > crtc_state->mode.hdisplay - left) in vc4_plane_margins_adj()
307 vc4_pstate->crtc_x = crtc_state->mode.hdisplay - left; in vc4_plane_margins_adj()
310 vc4_pstate->crtc_y = DIV_ROUND_CLOSEST(vc4_pstate->crtc_y * in vc4_plane_margins_adj()
313 vc4_pstate->crtc_y += top; in vc4_plane_margins_adj()
314 if (vc4_pstate->crtc_y > crtc_state->mode.vdisplay - top) in vc4_plane_margins_adj()
315 vc4_pstate->crtc_y = crtc_state->mode.vdisplay - top; in vc4_plane_margins_adj()
317 vc4_pstate->crtc_w = DIV_ROUND_CLOSEST(vc4_pstate->crtc_w * in vc4_plane_margins_adj()
320 vc4_pstate->crtc_h = DIV_ROUND_CLOSEST(vc4_pstate->crtc_h * in vc4_plane_margins_adj()
[all …]

Completed in 4 milliseconds