Searched refs:drm_rect_width (Results 1 – 6 of 6) sorted by relevance
| /netbsd/src/sys/external/bsd/drm2/dist/include/drm/ |
| D | drm_rect.h | 57 #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/ |
| D | drm_rect.c | 105 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()
|
| D | drm_plane_helper.c | 122 .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/vmwgfx/ |
| D | vmwgfx_stdu.c | 1240 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()
|
| D | vmwgfx_kms.c | 1472 (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/external/bsd/drm2/dist/drm/i915/ |
| D | intel_pm.c | 1158 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()
|