| /openbsd-src/sys/dev/pci/drm/ |
| H A D | drm_plane_helper.c | 110 .src_x = src->x1, in drm_plane_helper_check_update() 168 uint32_t src_x, uint32_t src_y, in drm_plane_helper_update_primary() argument 176 .x = src_x >> 16, in drm_plane_helper_update_primary() 180 .x1 = src_x, in drm_plane_helper_update_primary() 182 .x2 = src_x + src_w, in drm_plane_helper_update_primary()
|
| H A D | drm_plane.c | 795 uint32_t src_x, uint32_t src_y, in __setplane_check() argument 825 ret = drm_framebuffer_check_src_coords(src_x, src_y, src_w, src_h, fb); in __setplane_check() 869 uint32_t src_x, uint32_t src_y, in __setplane_internal() argument 892 src_x, src_y, src_w, src_h); in __setplane_internal() 899 src_x, src_y, src_w, src_h, ctx); in __setplane_internal() 921 uint32_t src_x, uint32_t src_y, in __setplane_atomic() argument 942 src_x, src_y, src_w, src_h); in __setplane_atomic() 948 src_x, src_y, src_w, src_h, ctx); in __setplane_atomic() 957 uint32_t src_x, uint32_t src_y, in setplane_internal() argument 969 src_x, src_y, src_w, src_h, &ctx); in setplane_internal() [all …]
|
| H A D | drm_framebuffer.c | 76 int drm_framebuffer_check_src_coords(uint32_t src_x, uint32_t src_y, in drm_framebuffer_check_src_coords() argument 87 src_x > fb_width - src_w || in drm_framebuffer_check_src_coords() 94 src_x >> 16, ((src_x & 0xffff) * 15625) >> 10, in drm_framebuffer_check_src_coords()
|
| H A D | drm_atomic.c | 666 new_plane_state->src_x > fb_width - new_plane_state->src_w || in drm_atomic_plane_check() 677 new_plane_state->src_x >> 16, in drm_atomic_plane_check() 678 ((new_plane_state->src_x & 0xffff) * 15625) >> 10, in drm_atomic_plane_check() 1580 plane_state->src_x = 0; in __drm_atomic_helper_disable_plane() 1714 primary_state->src_x = set->x << 16; in __drm_atomic_helper_set_config()
|
| H A D | drm_atomic_helper.c | 1314 crtc->x = new_plane_state->src_x >> 16; in drm_atomic_helper_update_legacy_modeset_state() 1979 WARN_ON_ONCE(plane->state->src_x != plane_state->src_x); in drm_atomic_helper_async_commit() 3155 uint32_t src_x, uint32_t src_y, in drm_atomic_helper_update_plane() argument 3182 plane_state->src_x = src_x; in drm_atomic_helper_update_plane()
|
| H A D | drm_crtc_internal.h | 205 int drm_framebuffer_check_src_coords(uint32_t src_x, uint32_t src_y,
|
| H A D | drm_atomic_uapi.c | 559 state->src_x = val; in drm_atomic_plane_set_property() 631 *val = state->src_x; in drm_atomic_plane_get_property()
|
| H A D | drm_crtc.c | 566 crtc_resp->x = plane->state->src_x >> 16; in drm_mode_getcrtc()
|
| /openbsd-src/sys/dev/pci/drm/i915/display/ |
| H A D | intel_cursor.c | 84 int src_x, src_y; in intel_cursor_check_surface() local 95 src_x = plane_state->uapi.src.x1 >> 16; in intel_cursor_check_surface() 98 intel_add_fb_offsets(&src_x, &src_y, plane_state, 0); in intel_cursor_check_surface() 99 offset = intel_plane_compute_aligned_offset(&src_x, &src_y, in intel_cursor_check_surface() 102 if (src_x != 0 || src_y != 0) { in intel_cursor_check_surface() 113 src_x << 16, src_y << 16); in intel_cursor_check_surface() 125 plane_state->view.color_plane[0].x = src_x; in intel_cursor_check_surface() 612 u32 src_x, u32 src_y, in intel_legacy_cursor_update() argument 675 new_plane_state->uapi.src_x = src_x; in intel_legacy_cursor_update() 747 src_x, src_y, src_w, src_h, ctx); in intel_legacy_cursor_update()
|
| H A D | i9xx_plane.c | 229 int src_x, src_y, src_w; in i9xx_check_plane_surface() local 241 src_x = plane_state->uapi.src.x1 >> 16; in i9xx_check_plane_surface() 248 intel_add_fb_offsets(&src_x, &src_y, plane_state, 0); in i9xx_check_plane_surface() 251 offset = intel_plane_compute_aligned_offset(&src_x, &src_y, in i9xx_check_plane_surface() 271 while ((src_x + src_w) * cpp > plane_state->view.color_plane[0].mapping_stride) { in i9xx_check_plane_surface() 278 offset = intel_plane_adjust_aligned_offset(&src_x, &src_y, plane_state, 0, in i9xx_check_plane_surface() 288 src_x << 16, src_y << 16); in i9xx_check_plane_surface() 297 src_x += src_w - 1; in i9xx_check_plane_surface() 300 src_x += src_w - 1; in i9xx_check_plane_surface() 305 drm_WARN_ON(&dev_priv->drm, src_x > 819 in i9xx_check_plane_surface() [all...] |
| H A D | intel_atomic_plane.c | 954 u32 src_x, src_y, src_w, src_h, hsub, vsub; in intel_plane_check_src_coordinates() local 973 src_x = src->x1 >> 16; in intel_plane_check_src_coordinates() 978 drm_rect_init(src, src_x << 16, src_y << 16, in intel_plane_check_src_coordinates() 992 if (src_x % hsub || src_w % hsub) { in intel_plane_check_src_coordinates() 994 src_x, src_w, hsub, str_yes_no(rotated)); in intel_plane_check_src_coordinates()
|
| H A D | intel_plane_initial.c | 374 plane_state->uapi.src_x = 0;
|
| H A D | intel_fb.c | 1687 unsigned int src_x, src_y; in intel_plane_remap_gtt() local 1695 src_x = plane_state->uapi.src.x1 >> 16; in intel_plane_remap_gtt() 1704 -(src_x << 16), -(src_y << 16)); in intel_plane_remap_gtt() 1720 x = src_x / hsub; in intel_plane_remap_gtt()
|
| H A D | intel_sprite.c | 1234 int src_x, src_w, src_h, crtc_w, crtc_h; in g4x_sprite_check_scaling() local 1245 src_x = src->x1 >> 16; in g4x_sprite_check_scaling() 1264 width_bytes = ((src_x * cpp) & 63) + src_w * cpp; in g4x_sprite_check_scaling()
|
| H A D | skl_universal_plane.c | 1767 int src_x = plane_state->uapi.src.x1 >> 16; in skl_check_ccs_aux_surface() local 1786 x = src_x / hsub; in skl_check_ccs_aux_surface() 1796 plane_state->view.color_plane[ccs_plane].x = (x * hsub + src_x % hsub) / main_hsub; in skl_check_ccs_aux_surface()
|
| /openbsd-src/sys/dev/pci/drm/include/drm/ |
| H A D | drm_plane.h | 109 uint32_t src_x; member 256 .x1 = state->src_x, in drm_plane_state_src() 258 .x2 = state->src_x + state->src_w, in drm_plane_state_src() 310 uint32_t src_x, uint32_t src_y,
|
| H A D | drm_plane_helper.h | 39 uint32_t src_x, uint32_t src_y,
|
| H A D | drm_atomic_helper.h | 133 uint32_t src_x, uint32_t src_y,
|
| /openbsd-src/sys/dev/pci/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_trace.h | 242 __field(uint32_t, src_x) 271 __entry->src_x = state->src_x >> 16; 301 __entry->src_x, __entry->src_y, __entry->src_w, __entry->src_h, 399 __field(int, src_x) 431 __entry->src_x = plane_state->src_rect.x; 465 __entry->src_x,
|
| H A D | amdgpu_dm_plane.c | 1061 scaling_info->src_rect.x = state->src_x >> 16; in amdgpu_dm_plane_fill_dc_scaling_info() 1069 * let's reject both non-zero src_x and src_y. in amdgpu_dm_plane_fill_dc_scaling_info() 1072 * scenario with non-zero src_x and src_y for NV12, which in amdgpu_dm_plane_fill_dc_scaling_info() 1312 plane->state->src_x = new_state->src_x; in dm_plane_atomic_async_update()
|
| H A D | amdgpu_dm.c | 9771 if (new_plane_state->src_x != 0 || new_plane_state->src_y != 0) { in dm_update_plane_state()
|
| /openbsd-src/sys/dev/usb/ |
| H A D | udl.c | 2213 udl_fb_block_copy(struct udl_softc *sc, uint32_t src_x, uint32_t src_y, in udl_fb_line_copy() 2219 r = udl_fb_line_copy(sc, src_x, src_y + i, dst_x, dst_y + i, in udl_fb_line_copy() 2230 udl_fb_line_copy(struct udl_softc *sc, uint32_t src_x, uint32_t src_y, in udl_fb_line_copy() 2236 src_off = (src_y * sc->sc_width) + src_x; in udl_fb_line_copy() 2425 udl_fb_block_copy_comp(struct udl_softc *sc, uint32_t src_x, uint32_t src_y, in udl_fb_line_copy_comp() 2431 r = udl_fb_line_copy_comp(sc, src_x, src_y + i, in udl_fb_line_copy_comp() 2441 udl_fb_line_copy_comp(struct udl_softc *sc, uint32_t src_x, uint32_t src_y, in udl_fb_line_copy_comp() 2447 src_off = (src_y * sc->sc_width) + src_x; in udl_fb_line_copy_comp() 2195 udl_fb_block_copy(struct udl_softc * sc,uint32_t src_x,uint32_t src_y,uint32_t dst_x,uint32_t dst_y,uint32_t width,uint32_t height) udl_fb_block_copy() argument 2212 udl_fb_line_copy(struct udl_softc * sc,uint32_t src_x,uint32_t src_y,uint32_t dst_x,uint32_t dst_y,uint32_t width) udl_fb_line_copy() argument 2407 udl_fb_block_copy_comp(struct udl_softc * sc,uint32_t src_x,uint32_t src_y,uint32_t dst_x,uint32_t dst_y,uint32_t width,uint32_t height) udl_fb_block_copy_comp() argument 2423 udl_fb_line_copy_comp(struct udl_softc * sc,uint32_t src_x,uint32_t src_y,uint32_t dst_x,uint32_t dst_y,uint32_t width) udl_fb_line_copy_comp() argument
|
| /openbsd-src/sys/dev/pci/drm/include/uapi/drm/ |
| H A D | drm_mode.h | 309 __u32 src_x; member
|