Home
last modified time | relevance | path

Searched refs:crtc_h (Results 1 – 25 of 73) sorted by relevance

123

/Linux-v6.6/drivers/gpu/drm/armada/
Darmada_trace.h33 int crtc_x, int crtc_y, unsigned crtc_w, unsigned crtc_h,
35 TP_ARGS(plane, crtc, fb, crtc_x, crtc_y, crtc_w, crtc_h, src_x, src_y, src_w, src_h),
43 __field(unsigned int, crtc_h)
56 __entry->crtc_h = crtc_h;
65 __entry->crtc_w, __entry->crtc_h,
Darmada_overlay.c260 int crtc_x, int crtc_y, unsigned crtc_w, unsigned crtc_h, in armada_overlay_plane_update() argument
269 crtc_x, crtc_y, crtc_w, crtc_h, in armada_overlay_plane_update()
290 plane_state->crtc_h = crtc_h; in armada_overlay_plane_update()
/Linux-v6.6/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_plane.c52 unsigned int crtc_w, unsigned int crtc_h,
141 new_state->crtc_w, new_state->crtc_h, in mdp4_plane_atomic_update()
213 unsigned int crtc_w, unsigned int crtc_h, in mdp4_plane_mode_set() argument
242 crtc->base.id, crtc_x, crtc_y, crtc_w, crtc_h); in mdp4_plane_mode_set()
251 if (src_h > (crtc_h * DOWN_SCALE_MAX)) { in mdp4_plane_mode_set()
261 if (crtc_h > (src_h * UP_SCALE_MAX)) { in mdp4_plane_mode_set()
282 if (src_h != crtc_h) { in mdp4_plane_mode_set()
288 if (crtc_h > src_h) in mdp4_plane_mode_set()
290 else if (crtc_h <= (src_h / 4)) in mdp4_plane_mode_set()
295 src_h, crtc_h); in mdp4_plane_mode_set()
[all …]
/Linux-v6.6/drivers/gpu/drm/nouveau/dispnv04/
Doverlay.c95 uint32_t crtc_w, uint32_t crtc_h) in verify_scaling() argument
97 if (crtc_w < (src_w >> shift) || crtc_h < (src_h >> shift)) { in verify_scaling()
99 src_w, src_h, crtc_w, crtc_h); in verify_scaling()
115 unsigned int crtc_w, unsigned int crtc_h, in nv10_update_plane() argument
140 ret = verify_scaling(fb, shift, 0, 0, src_w, src_h, crtc_w, crtc_h); in nv10_update_plane()
159 nvif_wr32(dev, NV_PVIDEO_DT_DY(flip), (src_h << 20) / crtc_h); in nv10_update_plane()
161 nvif_wr32(dev, NV_PVIDEO_SIZE_OUT(flip), crtc_h << 16 | crtc_w); in nv10_update_plane()
366 unsigned int crtc_w, unsigned int crtc_h, in nv04_update_plane() argument
386 ret = verify_scaling(fb, 0, src_x, src_y, src_w, src_h, crtc_w, crtc_h); in nv04_update_plane()
409 nvif_wr32(dev, NV_PVIDEO_WINDOW_SIZE, crtc_h << 16 | crtc_w); in nv04_update_plane()
[all …]
/Linux-v6.6/drivers/gpu/drm/renesas/shmobile/
Dshmob_drm_plane.c34 unsigned int crtc_h; member
136 (splane->crtc_h << LDBBSSZR_BVSS_SHIFT) | in __shmob_drm_plane_setup()
176 unsigned int crtc_w, unsigned int crtc_h, in shmob_drm_plane_update() argument
192 if (src_w >> 16 != crtc_w || src_h >> 16 != crtc_h) { in shmob_drm_plane_update()
204 splane->crtc_h = crtc_h; in shmob_drm_plane_update()
/Linux-v6.6/drivers/gpu/drm/loongson/
Dlsdc_plane.c187 if (new_state->crtc_w != new_state->crtc_h) { in lsdc_cursor_plane_atomic_async_check()
189 new_state->crtc_w, new_state->crtc_h); in lsdc_cursor_plane_atomic_async_check()
195 new_state->crtc_w, new_state->crtc_h); in lsdc_cursor_plane_atomic_async_check()
207 plane->state->crtc_h != new_state->crtc_h) in lsdc_cursor_plane_atomic_async_check()
235 plane->state->crtc_h = new_state->crtc_h; in lsdc_cursor_plane_atomic_async_update()
284 if (new_plane_state->crtc_w != 32 || new_plane_state->crtc_h != 32) { in ls7a1000_cursor_plane_atomic_check()
286 new_plane_state->crtc_w, new_plane_state->crtc_h); in ls7a1000_cursor_plane_atomic_check()
357 if (new_plane_state->crtc_w != new_plane_state->crtc_h) { in ls7a2000_cursor_plane_atomic_check()
359 new_plane_state->crtc_w, new_plane_state->crtc_h); in ls7a2000_cursor_plane_atomic_check()
365 new_plane_state->crtc_w, new_plane_state->crtc_h); in ls7a2000_cursor_plane_atomic_check()
/Linux-v6.6/drivers/gpu/drm/
Ddrm_plane.c781 uint32_t crtc_w, uint32_t crtc_h, in __setplane_check() argument
805 crtc_h > INT_MAX || in __setplane_check()
806 crtc_y > INT_MAX - (int32_t) crtc_h) { in __setplane_check()
808 crtc_w, crtc_h, crtc_x, crtc_y); in __setplane_check()
854 uint32_t crtc_w, uint32_t crtc_h, in __setplane_internal() argument
878 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_internal()
885 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_internal()
907 uint32_t crtc_w, uint32_t crtc_h, in __setplane_atomic() argument
928 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_atomic()
934 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_atomic()
[all …]
Ddrm_plane_helper.c117 .crtc_h = drm_rect_height(dst), in drm_plane_helper_check_update()
167 unsigned int crtc_w, unsigned int crtc_h, in drm_plane_helper_update_primary() argument
189 .y2 = crtc_y + crtc_h, in drm_plane_helper_update_primary()
/Linux-v6.6/drivers/gpu/drm/exynos/
Dexynos_drm_plane.c64 unsigned int crtc_w, crtc_h; in exynos_plane_mode_set() local
79 crtc_h = state->crtc_h; in exynos_plane_mode_set()
88 exynos_state->v_ratio = (src_h << 16) / crtc_h; in exynos_plane_mode_set()
92 actual_h = exynos_plane_get_size(crtc_y, crtc_h, mode->vdisplay); in exynos_plane_mode_set()
/Linux-v6.6/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c51 unsigned int crtc_h; member
294 if (state->crtc_w == state->src_w && state->crtc_h == state->src_h) { in atmel_hlcdc_plane_setup_scaler()
306 state->crtc_h, in atmel_hlcdc_plane_setup_scaler()
317 state->crtc_h < state->src_h ? in atmel_hlcdc_plane_setup_scaler()
324 yfactor = (1024 * state->src_h) / state->crtc_h; in atmel_hlcdc_plane_setup_scaler()
342 state->crtc_h)); in atmel_hlcdc_plane_update_pos_and_size()
560 if (ovl_state->crtc_h * ovl_state->crtc_w < disc_h * disc_w) in atmel_hlcdc_plane_prepare_disc_area()
565 disc_h = ovl_state->crtc_h; in atmel_hlcdc_plane_prepare_disc_area()
629 hstate->crtc_h = drm_rect_height(&s->dst); in atmel_hlcdc_plane_atomic_check()
704 mode->vdisplay != hstate->crtc_h)) in atmel_hlcdc_plane_atomic_check()
[all …]
/Linux-v6.6/drivers/gpu/drm/vc4/
Dvc4_plane.c427 vc4_pstate->crtc_h = DIV_ROUND_CLOSEST(vc4_pstate->crtc_h * in vc4_plane_margins_adj()
431 if (!vc4_pstate->crtc_w || !vc4_pstate->crtc_h) in vc4_plane_margins_adj()
478 vc4_state->crtc_h = state->dst.y2 - state->dst.y1; in vc4_plane_setup_clipping_and_scaling()
487 vc4_state->crtc_h); in vc4_plane_setup_clipping_and_scaling()
503 vc4_state->crtc_h); in vc4_plane_setup_clipping_and_scaling()
612 vc4_state->src_h[channel], vc4_state->crtc_h); in vc4_write_scaling_parameters()
625 vc4_state->src_h[channel], vc4_state->crtc_h); in vc4_write_scaling_parameters()
673 vc4_state->crtc_h); in vc4_plane_calc_load()
677 vc4_state->hvs_load += vc4_state->crtc_h * vc4_state->crtc_w; in vc4_plane_calc_load()
1086 VC4_SET_FIELD(vc4_state->crtc_h, in vc4_plane_mode_set()
[all …]
/Linux-v6.6/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c243 ((state->src_h >> 16) != state->crtc_h)) in mdp5_plane_atomic_check_with_state()
410 plane->state->crtc_h != new_plane_state->crtc_h || in mdp5_plane_atomic_async_check()
769 unsigned int crtc_w, unsigned int crtc_h, in mdp5_hwpipe_mode_set() argument
793 MDP5_PIPE_OUT_SIZE_HEIGHT(crtc_h)); in mdp5_hwpipe_mode_set()
876 unsigned int crtc_w, crtc_h; in mdp5_plane_mode_set() local
899 crtc_h = drm_rect_height(dest); in mdp5_plane_mode_set()
912 crtc->base.id, crtc_x, crtc_y, crtc_w, crtc_h); in mdp5_plane_mode_set()
930 ret = calc_scaley_steps(plane, pix_format, src_h, crtc_h, step.y); in mdp5_plane_mode_set()
937 calc_pixel_ext(format, src_h, crtc_h, step.y, in mdp5_plane_mode_set()
945 config |= get_scale_config(format, src_h, crtc_h, false); in mdp5_plane_mode_set()
[all …]
/Linux-v6.6/drivers/gpu/drm/tilcdc/
Dtilcdc_plane.c52 crtc_state->mode.vdisplay != new_state->crtc_h) { in tilcdc_plane_atomic_check()
56 new_state->crtc_w, new_state->crtc_h); in tilcdc_plane_atomic_check()
/Linux-v6.6/include/drm/
Ddrm_plane.h103 uint32_t crtc_w, crtc_h; member
261 .y2 = state->crtc_y + state->crtc_h, in drm_plane_state_dest()
299 unsigned int crtc_w, unsigned int crtc_h,
Ddrm_plane_helper.h38 unsigned int crtc_w, unsigned int crtc_h,
/Linux-v6.6/drivers/gpu/drm/tests/
Ddrm_plane_helper_test.c75 mock->crtc_h = params->crtc.h; in drm_plane_helper_init()
103 unsigned int crtc_w, unsigned int crtc_h) in check_crtc_eq() argument
105 struct drm_rect expected = DRM_RECT_INIT(crtc_x, crtc_y, crtc_w, crtc_h); in check_crtc_eq()
/Linux-v6.6/drivers/gpu/drm/sun4i/
Dsun4i_frontend.c505 state->crtc_w, state->crtc_h); in sun4i_frontend_update_coord()
519 SUN4I_FRONTEND_OUTSIZE(state->crtc_h, state->crtc_w)); in sun4i_frontend_update_coord()
521 SUN4I_FRONTEND_OUTSIZE(state->crtc_h, state->crtc_w)); in sun4i_frontend_update_coord()
529 (luma_height << 16) / state->crtc_h); in sun4i_frontend_update_coord()
531 (chroma_height << 16) / state->crtc_h); in sun4i_frontend_update_coord()
Dsun4i_backend.c178 state->crtc_w, state->crtc_h); in sun4i_backend_update_layer_coord()
181 state->crtc_h)); in sun4i_backend_update_layer_coord()
398 src_w, src_h, state->crtc_w, state->crtc_h); in sun4i_backend_plane_uses_scaler()
400 if ((state->crtc_h != src_h) || (state->crtc_w != src_w)) in sun4i_backend_plane_uses_scaler()
/Linux-v6.6/drivers/gpu/drm/i915/display/
Dintel_cursor.c611 unsigned int crtc_w, unsigned int crtc_h, in intel_legacy_cursor_update() argument
659 old_plane_state->uapi.crtc_h != crtc_h || in intel_legacy_cursor_update()
682 new_plane_state->uapi.crtc_h = crtc_h; in intel_legacy_cursor_update()
746 crtc_x, crtc_y, crtc_w, crtc_h, in intel_legacy_cursor_update()
Dintel_sprite.c370 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in vlv_sprite_update_noarm() local
377 SP_HEIGHT(crtc_h - 1) | SP_WIDTH(crtc_w - 1)); in vlv_sprite_update_noarm()
784 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in ivb_sprite_update_noarm() local
789 if (crtc_w != src_w || crtc_h != src_h) in ivb_sprite_update_noarm()
799 SPRITE_HEIGHT(crtc_h - 1) | SPRITE_WIDTH(crtc_w - 1)); in ivb_sprite_update_noarm()
1111 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in g4x_sprite_update_noarm() local
1116 if (crtc_w != src_w || crtc_h != src_h) in g4x_sprite_update_noarm()
1126 DVS_HEIGHT(crtc_h - 1) | DVS_WIDTH(crtc_w - 1)); in g4x_sprite_update_noarm()
1234 int src_x, src_w, src_h, crtc_w, crtc_h; in g4x_sprite_check_scaling() local
1243 crtc_h = drm_rect_height(dst); in g4x_sprite_check_scaling()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_plane.c1006 int viewport_height = state->crtc_h; in amdgpu_dm_plane_helper_check_state()
1015 else if (state->crtc_y + state->crtc_h > new_crtc_state->mode.crtc_vdisplay) in amdgpu_dm_plane_helper_check_state()
1093 if (state->crtc_h == 0) in amdgpu_dm_plane_fill_dc_scaling_info()
1096 scaling_info->dst_rect.height = state->crtc_h; in amdgpu_dm_plane_fill_dc_scaling_info()
1190 (plane->state->crtc_h > amdgpu_crtc->max_cursor_height)) { in get_cursor_position()
1194 plane->state->crtc_h); in get_cursor_position()
1243 plane->state->crtc_h); in amdgpu_dm_plane_handle_cursor_update()
1261 amdgpu_crtc->cursor_height = plane->state->crtc_h; in amdgpu_dm_plane_handle_cursor_update()
1267 attributes.height = plane->state->crtc_h; in amdgpu_dm_plane_handle_cursor_update()
1313 plane->state->crtc_h = new_state->crtc_h; in dm_plane_atomic_async_update()
/Linux-v6.6/drivers/gpu/drm/hisilicon/kirin/
Dkirin_drm_ade.c711 unsigned int crtc_h, u32 src_x, in ade_update_channel() argument
723 crtc_x, crtc_y, crtc_w, crtc_h); in ade_update_channel()
774 u32 crtc_h = new_plane_state->crtc_h; in ade_plane_atomic_check() local
788 if (src_w != crtc_w || src_h != crtc_h) { in ade_plane_atomic_check()
800 crtc_y + crtc_h > crtc_state->adjusted_mode.vdisplay) in ade_plane_atomic_check()
815 new_state->crtc_w, new_state->crtc_h, in ade_plane_atomic_update()
/Linux-v6.6/drivers/gpu/drm/ingenic/
Dingenic-ipu.c320 state->crtc_h != oldstate->crtc_h; in osd_changed()
475 | newstate->crtc_h << JZ_IPU_OUT_GS_H_LSB); in ingenic_ipu_plane_atomic_update()
562 newstate->crtc_w, newstate->crtc_h, in ingenic_ipu_plane_atomic_update()
602 new_plane_state->crtc_y + new_plane_state->crtc_h > crtc_state->mode.vdisplay) in ingenic_ipu_plane_atomic_check()
637 for (denom_h = yres, num_h = new_plane_state->crtc_h; num_h <= max_h; num_h++) in ingenic_ipu_plane_atomic_check()
/Linux-v6.6/drivers/gpu/drm/imx/ipuv3/
Dipuv3-plane.h40 unsigned int crtc_w, unsigned int crtc_h,
/Linux-v6.6/drivers/gpu/drm/imx/dcss/
Ddcss-plane.c197 new_plane_state->crtc_y + new_plane_state->crtc_h > vdisplay) && in dcss_plane_atomic_check()
257 state->crtc_h != old_state->crtc_h || in dcss_plane_needs_setup()

123