Home
last modified time | relevance | path

Searched refs:drm_rect_width (Results 1 – 10 of 10) sorted by relevance

/netbsd-src/sys/external/bsd/drm2/dist/include/drm/
H A Ddrm_rect.h57 #define DRM_RECT_ARG(r) drm_rect_width(r), drm_rect_height(r), (r)->x1, (r)->y1
71 drm_rect_width(r) >> 16, ((drm_rect_width(r) & 0xffff) * 15625) >> 10, \
167 static inline int drm_rect_width(const struct drm_rect *r) in drm_rect_width() function
193 return drm_rect_width(r) > 0 && drm_rect_height(r) > 0; in drm_rect_visible()
/netbsd-src/sys/external/bsd/drm2/dist/drm/
H A Ddrm_rect.c105 u32 new_src_w = clip_scaled(drm_rect_width(src), in drm_rect_clip_scaled()
106 drm_rect_width(dst), &diff); in drm_rect_clip_scaled()
121 u32 new_src_w = clip_scaled(drm_rect_width(src), in drm_rect_clip_scaled()
122 drm_rect_width(dst), &diff); in drm_rect_clip_scaled()
179 int src_w = drm_rect_width(src); in drm_rect_calc_hscale()
180 int dst_w = drm_rect_width(dst); in drm_rect_calc_hscale()
H A Ddrm_plane_helper.c122 .src_w = drm_rect_width(src), in drm_plane_helper_check_update()
126 .crtc_w = drm_rect_width(dst), in drm_plane_helper_check_update()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/display/
H A Dintel_sprite.c271 src_w = drm_rect_width(src) >> 16; in intel_plane_check_src_coordinates()
346 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in skl_plane_min_cdclk()
348 dst_w = drm_rect_width(&plane_state->uapi.dst); in skl_plane_min_cdclk()
390 u32 crtc_w = drm_rect_width(&plane_state->uapi.dst); in skl_program_scaler()
578 u32 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in skl_program_plane()
1025 u32 crtc_w = drm_rect_width(&plane_state->uapi.dst); in vlv_update_plane()
1215 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in ivb_sprite_min_cdclk()
1216 dst_w = drm_rect_width(&plane_state->uapi.dst); in ivb_sprite_min_cdclk()
1439 u32 crtc_w = drm_rect_width(&plane_state->uapi.dst); in ivb_update_plane()
1443 u32 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in ivb_update_plane()
[all …]
H A Dintel_display.c3152 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in intel_plane_remap_gtt()
3788 int w = drm_rect_width(&plane_state->uapi.src) >> 16; in skl_check_main_surface()
3894 int w = drm_rect_width(&plane_state->uapi.src) >> 17; in skl_check_nv12_aux_surface()
4219 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in i9xx_check_plane_surface()
4245 int src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in i9xx_check_plane_surface()
4326 int crtc_w = drm_rect_width(&plane_state->uapi.dst); in i9xx_update_plane()
6089 drm_rect_width(&plane_state->uapi.src) >> 16, in skl_update_scaler_plane()
6091 drm_rect_width(&plane_state->uapi.dst), in skl_update_scaler_plane()
11133 int width = drm_rect_width(&plane_state->uapi.dst); in intel_cursor_size_ok()
11178 int src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in intel_cursor_check_surface()
[all …]
H A Dintel_fbc.c662 cache->plane.src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in intel_fbc_update_state_cache()
/netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_stdu.c1240 box->w = drm_rect_width(clip); in vmw_stdu_bo_populate_clip()
1340 box->w = drm_rect_width(&diff.rect); in vmw_stdu_bo_populate_update_cpu()
1469 box->w = drm_rect_width(&clip); in vmw_stdu_surface_update_proxy()
1513 box->w = drm_rect_width(clip); in vmw_stdu_surface_populate_clip()
H A Dvmwgfx_kms.c1472 (drm_rect_width(&rects[i]) > dev_priv->stdu_max_width || in vmw_kms_check_display_memory()
1485 total_pixels += (u64) drm_rect_width(&rects[i]) * in vmw_kms_check_display_memory()
2056 du->pref_width = drm_rect_width(&rects[du->unit]); in vmw_du_update_layout()
/netbsd-src/sys/arch/arm/rockchip/
H A Drk_vop.c321 act_width = drm_rect_width(src) >> 16; in rk_vop_plane_atomic_update()
327 dsp_width = drm_rect_width(dst); in rk_vop_plane_atomic_update()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/
H A Dintel_pm.c1158 width = drm_rect_width(&plane_state->uapi.dst); in g4x_compute_wm()
2551 drm_rect_width(&plane_state->uapi.dst), in ilk_compute_pri_wm()
2579 drm_rect_width(&plane_state->uapi.dst), in ilk_compute_spr_wm()
2604 drm_rect_width(&plane_state->uapi.dst), in ilk_compute_cur_wm()
2620 return ilk_wm_fbc(pri_val, drm_rect_width(&plane_state->uapi.dst), in ilk_compute_fbc_wm()
3172 (drm_rect_width(&sprstate->uapi.dst) != drm_rect_width(&sprstate->uapi.src) >> 16 || in ilk_compute_pipe_wm()
4143 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in skl_plane_downscale_amount()
4145 dst_w = drm_rect_width(&plane_state->uapi.dst); in skl_plane_downscale_amount()
4183 width = drm_rect_width(&plane_state->uapi.src) >> 16; in skl_plane_relative_data_rate()
4694 width = drm_rect_width(&plane_state->uapi.src) >> 16; in skl_compute_plane_wm_params()