Lines Matching refs:plane_state

216 			    struct intel_plane_state *plane_state)  in skl_update_scaler_plane()  argument
219 to_intel_plane(plane_state->uapi.plane); in skl_update_scaler_plane()
221 struct drm_framebuffer *fb = plane_state->hw.fb; in skl_update_scaler_plane()
223 bool force_detach = !fb || !plane_state->uapi.visible; in skl_update_scaler_plane()
233 &plane_state->scaler_id, in skl_update_scaler_plane()
234 drm_rect_width(&plane_state->uapi.src) >> 16, in skl_update_scaler_plane()
235 drm_rect_height(&plane_state->uapi.src) >> 16, in skl_update_scaler_plane()
236 drm_rect_width(&plane_state->uapi.dst), in skl_update_scaler_plane()
237 drm_rect_height(&plane_state->uapi.dst), in skl_update_scaler_plane()
242 if (ret || plane_state->scaler_id < 0) in skl_update_scaler_plane()
246 if (plane_state->ckey.flags) { in skl_update_scaler_plane()
456 const struct intel_plane_state *plane_state) in skl_program_plane_scaler() argument
459 const struct drm_framebuffer *fb = plane_state->hw.fb; in skl_program_plane_scaler()
461 int scaler_id = plane_state->scaler_id; in skl_program_plane_scaler()
464 int crtc_x = plane_state->uapi.dst.x1; in skl_program_plane_scaler()
465 int crtc_y = plane_state->uapi.dst.y1; in skl_program_plane_scaler()
466 u32 crtc_w = drm_rect_width(&plane_state->uapi.dst); in skl_program_plane_scaler()
467 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in skl_program_plane_scaler()
473 hscale = drm_rect_calc_hscale(&plane_state->uapi.src, in skl_program_plane_scaler()
474 &plane_state->uapi.dst, in skl_program_plane_scaler()
476 vscale = drm_rect_calc_vscale(&plane_state->uapi.src, in skl_program_plane_scaler()
477 &plane_state->uapi.dst, in skl_program_plane_scaler()
498 ps_ctrl = skl_scaler_get_filter_select(plane_state->hw.scaling_filter, 0); in skl_program_plane_scaler()
502 plane_state->hw.scaling_filter); in skl_program_plane_scaler()