/linux/drivers/gpu/drm/armada/ |
A D | armada_trace.h | 33 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,
|
A D | armada_overlay.c | 258 int crtc_x, int crtc_y, unsigned crtc_w, unsigned crtc_h, in armada_overlay_plane_update() argument 267 crtc_x, crtc_y, crtc_w, crtc_h, in armada_overlay_plane_update() 288 plane_state->crtc_h = crtc_h; in armada_overlay_plane_update()
|
/linux/drivers/gpu/drm/msm/disp/mdp4/ |
A D | mdp4_plane.c | 50 unsigned int crtc_w, unsigned int crtc_h, 125 new_state->crtc_w, new_state->crtc_h, in mdp4_plane_atomic_update() 197 unsigned int crtc_w, unsigned int crtc_h, in mdp4_plane_mode_set() argument 226 crtc->base.id, crtc_x, crtc_y, crtc_w, crtc_h); in mdp4_plane_mode_set() 235 if (src_h > (crtc_h * DOWN_SCALE_MAX)) { in mdp4_plane_mode_set() 245 if (crtc_h > (src_h * UP_SCALE_MAX)) { in mdp4_plane_mode_set() 266 if (src_h != crtc_h) { in mdp4_plane_mode_set() 272 if (crtc_h > src_h) in mdp4_plane_mode_set() 274 else if (crtc_h <= (src_h / 4)) in mdp4_plane_mode_set() 279 src_h, crtc_h); in mdp4_plane_mode_set() [all …]
|
/linux/drivers/gpu/drm/nouveau/dispnv04/ |
A D | overlay.c | 95 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() 365 unsigned int crtc_w, unsigned int crtc_h, in nv04_update_plane() argument 385 ret = verify_scaling(fb, 0, src_x, src_y, src_w, src_h, crtc_w, crtc_h); in nv04_update_plane() 408 nvif_wr32(dev, NV_PVIDEO_WINDOW_SIZE, crtc_h << 16 | crtc_w); in nv04_update_plane() [all …]
|
/linux/drivers/gpu/drm/selftests/ |
A D | test-drm_plane_helper.c | 52 unsigned crtc_w, unsigned crtc_h) in set_crtc() argument 57 plane_state->crtc_h = crtc_h; in set_crtc() 62 unsigned crtc_w, unsigned crtc_h) in check_crtc_eq() argument 67 drm_rect_height(&plane_state->dst) != crtc_h) { in check_crtc_eq()
|
/linux/drivers/gpu/drm/shmobile/ |
A D | shmob_drm_plane.c | 34 unsigned int crtc_h; member 132 (splane->crtc_h << LDBBSSZR_BVSS_SHIFT) | in __shmob_drm_plane_setup() 172 unsigned int crtc_w, unsigned int crtc_h, in shmob_drm_plane_update() argument 188 if (src_w >> 16 != crtc_w || src_h >> 16 != crtc_h) { in shmob_drm_plane_update() 200 splane->crtc_h = crtc_h; in shmob_drm_plane_update()
|
/linux/drivers/gpu/drm/ |
A D | drm_plane.c | 772 uint32_t crtc_w, uint32_t crtc_h, in __setplane_check() argument 796 crtc_h > INT_MAX || in __setplane_check() 799 crtc_w, crtc_h, crtc_x, crtc_y); in __setplane_check() 876 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_internal() 925 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_atomic() 946 crtc_x, crtc_y, crtc_w, crtc_h, in setplane_internal() 950 crtc_x, crtc_y, crtc_w, crtc_h, in setplane_internal() 1026 uint32_t crtc_w = 0, crtc_h = 0; in drm_mode_cursor_universal() local 1071 crtc_h = fb->height; in drm_mode_cursor_universal() 1078 crtc_x, crtc_y, crtc_w, crtc_h, in drm_mode_cursor_universal() [all …]
|
A D | drm_plane_helper.c | 124 .crtc_h = drm_rect_height(dst), in drm_plane_helper_check_update() 151 unsigned int crtc_w, unsigned int crtc_h, in drm_primary_helper_update() argument 173 .y2 = crtc_y + crtc_h, in drm_primary_helper_update()
|
/linux/drivers/gpu/drm/vc4/ |
A D | vc4_plane.c | 320 vc4_pstate->crtc_h = DIV_ROUND_CLOSEST(vc4_pstate->crtc_h * in vc4_plane_margins_adj() 324 if (!vc4_pstate->crtc_w || !vc4_pstate->crtc_h) in vc4_plane_margins_adj() 373 vc4_state->crtc_h = state->dst.y2 - state->dst.y1; in vc4_plane_setup_clipping_and_scaling() 382 vc4_state->crtc_h); in vc4_plane_setup_clipping_and_scaling() 398 vc4_state->crtc_h); in vc4_plane_setup_clipping_and_scaling() 573 vc4_state->crtc_h); in vc4_plane_calc_load() 856 VC4_SET_FIELD(vc4_state->crtc_h, in vc4_plane_mode_set() 929 VC4_SET_FIELD(vc4_state->crtc_h, in vc4_plane_mode_set() 1030 vc4_state->crtc_h == state->crtc->mode.vdisplay; in vc4_plane_mode_set() 1148 plane->state->crtc_h = new_plane_state->crtc_h; in vc4_plane_atomic_async_update() [all …]
|
/linux/drivers/gpu/drm/exynos/ |
A D | exynos_drm_plane.c | 63 unsigned int crtc_w, crtc_h; in exynos_plane_mode_set() local 78 crtc_h = state->crtc_h; in exynos_plane_mode_set() 87 exynos_state->v_ratio = (src_h << 16) / crtc_h; in exynos_plane_mode_set() 91 actual_h = exynos_plane_get_size(crtc_y, crtc_h, mode->vdisplay); in exynos_plane_mode_set()
|
/linux/drivers/gpu/drm/atmel-hlcdc/ |
A D | atmel_hlcdc_plane.c | 50 unsigned int crtc_h; member 293 if (state->crtc_w == state->src_w && state->crtc_h == state->src_h) { in atmel_hlcdc_plane_setup_scaler() 305 state->crtc_h, in atmel_hlcdc_plane_setup_scaler() 316 state->crtc_h < state->src_h ? in atmel_hlcdc_plane_setup_scaler() 323 yfactor = (1024 * state->src_h) / state->crtc_h; in atmel_hlcdc_plane_setup_scaler() 341 state->crtc_h)); in atmel_hlcdc_plane_update_pos_and_size() 559 if (ovl_state->crtc_h * ovl_state->crtc_w < disc_h * disc_w) in atmel_hlcdc_plane_prepare_disc_area() 564 disc_h = ovl_state->crtc_h; in atmel_hlcdc_plane_prepare_disc_area() 628 hstate->crtc_h = drm_rect_height(&s->dst); in atmel_hlcdc_plane_atomic_check() 703 mode->vdisplay != hstate->crtc_h)) in atmel_hlcdc_plane_atomic_check() [all …]
|
/linux/drivers/gpu/drm/msm/disp/mdp5/ |
A D | mdp5_plane.c | 222 ((state->src_h >> 16) != state->crtc_h)) in mdp5_plane_atomic_check_with_state() 379 plane->state->crtc_h != new_plane_state->crtc_h || in mdp5_plane_atomic_async_check() 738 unsigned int crtc_w, unsigned int crtc_h, in mdp5_hwpipe_mode_set() argument 762 MDP5_PIPE_OUT_SIZE_HEIGHT(crtc_h)); in mdp5_hwpipe_mode_set() 845 unsigned int crtc_w, crtc_h; in mdp5_plane_mode_set() local 868 crtc_h = drm_rect_height(dest); in mdp5_plane_mode_set() 881 crtc->base.id, crtc_x, crtc_y, crtc_w, crtc_h); in mdp5_plane_mode_set() 906 calc_pixel_ext(format, src_h, crtc_h, step.y, in mdp5_plane_mode_set() 914 config |= get_scale_config(format, src_h, crtc_h, false); in mdp5_plane_mode_set() 926 crtc_x, crtc_y, crtc_w, crtc_h, in mdp5_plane_mode_set() [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_sprite.c | 433 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in vlv_update_plane() local 443 crtc_h--; in vlv_update_plane() 454 (crtc_h << 16) | crtc_w); in vlv_update_plane() 850 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in ivb_update_plane() local 864 crtc_h--; in ivb_update_plane() 866 if (crtc_w != src_w || crtc_h != src_h) in ivb_update_plane() 1192 crtc_h--; in g4x_update_plane() 1194 if (crtc_w != src_w || crtc_h != src_h) in g4x_update_plane() 1299 int src_x, src_w, src_h, crtc_w, crtc_h; in g4x_sprite_check_scaling() local 1308 crtc_h = drm_rect_height(dst); in g4x_sprite_check_scaling() [all …]
|
A D | intel_cursor.c | 617 unsigned int crtc_w, unsigned int crtc_h, in intel_legacy_cursor_update() argument 663 old_plane_state->uapi.crtc_h != crtc_h || in intel_legacy_cursor_update() 686 new_plane_state->uapi.crtc_h = crtc_h; in intel_legacy_cursor_update() 738 crtc_x, crtc_y, crtc_w, crtc_h, in intel_legacy_cursor_update()
|
/linux/drivers/gpu/drm/tilcdc/ |
A D | tilcdc_plane.c | 52 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/include/drm/ |
A D | drm_plane.h | 105 uint32_t crtc_w, crtc_h; member 263 .y2 = state->crtc_y + state->crtc_h, in drm_plane_state_dest() 301 unsigned int crtc_w, unsigned int crtc_h,
|
/linux/drivers/gpu/drm/sun4i/ |
A D | sun4i_frontend.c | 506 state->crtc_w, state->crtc_h); in sun4i_frontend_update_coord() 520 SUN4I_FRONTEND_OUTSIZE(state->crtc_h, state->crtc_w)); in sun4i_frontend_update_coord() 522 SUN4I_FRONTEND_OUTSIZE(state->crtc_h, state->crtc_w)); in sun4i_frontend_update_coord() 530 (luma_height << 16) / state->crtc_h); in sun4i_frontend_update_coord() 532 (chroma_height << 16) / state->crtc_h); in sun4i_frontend_update_coord()
|
A D | sun4i_backend.c | 177 state->crtc_w, state->crtc_h); in sun4i_backend_update_layer_coord() 180 state->crtc_h)); in sun4i_backend_update_layer_coord() 185 state->crtc_w, state->crtc_h); in sun4i_backend_update_layer_coord() 188 state->crtc_h)); in sun4i_backend_update_layer_coord() 417 src_w, src_h, state->crtc_w, state->crtc_h); in sun4i_backend_plane_uses_scaler() 419 if ((state->crtc_h != src_h) || (state->crtc_w != src_w)) in sun4i_backend_plane_uses_scaler()
|
/linux/drivers/gpu/drm/ingenic/ |
A D | ingenic-ipu.c | 284 state->crtc_h != oldstate->crtc_h; in osd_changed() 434 | newstate->crtc_h << JZ_IPU_OUT_GS_H_LSB); in ingenic_ipu_plane_atomic_update() 521 newstate->crtc_w, newstate->crtc_h, in ingenic_ipu_plane_atomic_update() 555 new_plane_state->crtc_y + new_plane_state->crtc_h > crtc_state->mode.vdisplay) in ingenic_ipu_plane_atomic_check() 590 for (denom_h = yres, num_h = new_plane_state->crtc_h; num_h <= max_h; num_h++) in ingenic_ipu_plane_atomic_check()
|
/linux/drivers/gpu/drm/hisilicon/kirin/ |
A D | kirin_drm_ade.c | 711 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/drivers/gpu/drm/imx/dcss/ |
A D | dcss-plane.c | 195 new_plane_state->crtc_y + new_plane_state->crtc_h > vdisplay) && in dcss_plane_atomic_check() 255 state->crtc_h != old_state->crtc_h || in dcss_plane_needs_setup()
|
/linux/drivers/gpu/drm/imx/ |
A D | ipuv3-plane.h | 40 unsigned int crtc_w, unsigned int crtc_h,
|
/linux/drivers/gpu/drm/mediatek/ |
A D | mtk_drm_plane.c | 151 plane->state->crtc_h = new_state->crtc_h; in mtk_plane_atomic_async_update()
|
/linux/drivers/gpu/drm/arm/ |
A D | malidp_planes.c | 297 if ((state->crtc_w == src_w) && (state->crtc_h == src_h)) { in malidp_se_check_scaling() 552 (new_plane_state->crtc_h > mp->hwdev->max_line_size) || in malidp_de_plane_check() 554 (new_plane_state->crtc_h < mp->hwdev->min_line_size)) in malidp_de_plane_check() 597 new_plane_state->crtc_h, in malidp_de_plane_check() 824 dest_h = new_state->crtc_h; in malidp_de_plane_update()
|
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
A D | amdgpu_dm_trace.h | 239 __field(uint32_t, crtc_h) 268 __entry->crtc_h = state->crtc_h; 298 __entry->crtc_y, __entry->crtc_w, __entry->crtc_h,
|