/openbsd/sys/dev/pci/drm/ |
H A D | drm_plane.c | 794 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 D | drm_plane_helper.c | 117 .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 D | drm_atomic.c | 651 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 D | drm_atomic_uapi.c | 557 state->crtc_h = val; in drm_atomic_plane_set_property() 629 *val = state->crtc_h; in drm_atomic_plane_get_property()
|
H A D | drm_atomic_helper.c | 3154 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 D | drm_plane.h | 103 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 D | drm_plane_helper.h | 38 unsigned int crtc_w, unsigned int crtc_h,
|
H A D | drm_atomic_helper.h | 132 unsigned int crtc_w, unsigned int crtc_h,
|
/openbsd/sys/dev/pci/drm/i915/display/ |
H A D | intel_sprite.c | 370 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 D | intel_cursor.c | 611 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 D | i9xx_plane.c | 431 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 D | skl_scaler.c | 776 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 D | intel_plane_initial.c | 382 plane_state->uapi.crtc_h = fb->height; in intel_find_initial_plane_obj()
|
/openbsd/sys/dev/pci/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_plane.c | 1011 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 D | amdgpu_dm_trace.h | 241 __field(uint32_t, crtc_h) 270 __entry->crtc_h = state->crtc_h; 300 __entry->crtc_y, __entry->crtc_w, __entry->crtc_h,
|
H A D | amdgpu_dm.c | 5220 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 D | drm_mode.h | 306 __u32 crtc_h; member
|