Home
last modified time | relevance | path

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

/openbsd/sys/dev/pci/drm/
H A Ddrm_plane.c794 uint32_t crtc_w, uint32_t crtc_h, in __setplane_check() argument
818 crtc_h > INT_MAX || in __setplane_check()
821 crtc_w, crtc_h, crtc_x, crtc_y); in __setplane_check()
898 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_internal()
947 crtc_x, crtc_y, crtc_w, crtc_h, in __setplane_atomic()
968 crtc_x, crtc_y, crtc_w, crtc_h, in setplane_internal()
972 crtc_x, crtc_y, crtc_w, crtc_h, in setplane_internal()
1048 uint32_t crtc_w = 0, crtc_h = 0; in drm_mode_cursor_universal() local
1093 crtc_h = fb->height; in drm_mode_cursor_universal()
1100 crtc_x, crtc_y, crtc_w, crtc_h, in drm_mode_cursor_universal()
[all …]
H A 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()
H A Ddrm_atomic.c651 new_plane_state->crtc_h > INT_MAX || in drm_atomic_plane_check()
652 new_plane_state->crtc_y > INT_MAX - (int32_t) new_plane_state->crtc_h) { in drm_atomic_plane_check()
656 new_plane_state->crtc_w, new_plane_state->crtc_h, in drm_atomic_plane_check()
1579 plane_state->crtc_h = 0; in __drm_atomic_helper_disable_plane()
1713 primary_state->crtc_h = vdisplay; in __drm_atomic_helper_set_config()
H A Ddrm_atomic_uapi.c557 state->crtc_h = val; in drm_atomic_plane_set_property()
629 *val = state->crtc_h; in drm_atomic_plane_get_property()
H A Ddrm_atomic_helper.c3154 unsigned int crtc_w, unsigned int crtc_h, in drm_atomic_helper_update_plane() argument
3181 plane_state->crtc_h = crtc_h; in drm_atomic_helper_update_plane()
/openbsd/sys/dev/pci/drm/include/drm/
H A Ddrm_plane.h103 uint32_t crtc_w, crtc_h; member
271 .y2 = state->crtc_y + state->crtc_h, in drm_plane_state_dest()
309 unsigned int crtc_w, unsigned int crtc_h,
H A Ddrm_plane_helper.h38 unsigned int crtc_w, unsigned int crtc_h,
H A Ddrm_atomic_helper.h132 unsigned int crtc_w, unsigned int crtc_h,
/openbsd/sys/dev/pci/drm/i915/display/
H A 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 …]
H A 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()
H A Di9xx_plane.c431 int crtc_h = drm_rect_height(&plane_state->uapi.dst); in i9xx_plane_update_noarm() local
441 DISP_HEIGHT(crtc_h - 1) | DISP_WIDTH(crtc_w - 1)); in i9xx_plane_update_noarm()
468 int crtc_h = drm_rect_height(&plane_state->uapi.dst); in i9xx_plane_update_arm() local
473 PRIM_HEIGHT(crtc_h - 1) | PRIM_WIDTH(crtc_w - 1)); in i9xx_plane_update_arm()
H A Dskl_scaler.c776 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in skl_program_plane_scaler() local
821 PS_WIN_XSIZE(crtc_w) | PS_WIN_YSIZE(crtc_h)); in skl_program_plane_scaler()
H A Dintel_plane_initial.c382 plane_state->uapi.crtc_h = fb->height; in intel_find_initial_plane_obj()
/openbsd/sys/dev/pci/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.c1011 int viewport_height = state->crtc_h; in amdgpu_dm_plane_helper_check_state()
1020 else if (state->crtc_y + state->crtc_h > new_crtc_state->mode.crtc_vdisplay) in amdgpu_dm_plane_helper_check_state()
1098 if (state->crtc_h == 0) in amdgpu_dm_plane_fill_dc_scaling_info()
1101 scaling_info->dst_rect.height = state->crtc_h; in amdgpu_dm_plane_fill_dc_scaling_info()
1195 (plane->state->crtc_h > amdgpu_crtc->max_cursor_height)) { in get_cursor_position()
1199 plane->state->crtc_h); in get_cursor_position()
1248 plane->state->crtc_h); in amdgpu_dm_plane_handle_cursor_update()
1266 amdgpu_crtc->cursor_height = plane->state->crtc_h; in amdgpu_dm_plane_handle_cursor_update()
1272 attributes.height = plane->state->crtc_h; in amdgpu_dm_plane_handle_cursor_update()
1319 plane->state->crtc_h = new_state->crtc_h; in dm_plane_atomic_async_update()
H A Damdgpu_dm_trace.h241 __field(uint32_t, crtc_h)
270 __entry->crtc_h = state->crtc_h;
300 __entry->crtc_y, __entry->crtc_w, __entry->crtc_h,
H A Damdgpu_dm.c5220 old_plane_state->crtc_h != new_plane_state->crtc_h); in fill_dc_dirty_rects()
5237 new_plane_state->crtc_h, &i, false); in fill_dc_dirty_rects()
5244 old_plane_state->crtc_h, &i, false); in fill_dc_dirty_rects()
5258 new_plane_state->crtc_h, &i, false); in fill_dc_dirty_rects()
9636 old_other_state->crtc_h != new_other_state->crtc_h) in should_reset_plane()
9941 *out_plane_scale_h = plane_state->crtc_h * 1000 / plane_src_h; in dm_get_plane_scale()
9975 new_plane_state->crtc_h == old_plane_state->crtc_h) in dm_check_crtc_cursor()
10030 new_underlying_state->crtc_y + new_underlying_state->crtc_h >= new_crtc_state->mode.vdisplay) in dm_check_crtc_cursor()
/openbsd/sys/dev/pci/drm/include/uapi/drm/
H A Ddrm_mode.h306 __u32 crtc_h; member