Searched refs:drm_rect_height (Results 1 – 12 of 12) sorted by relevance
| /linux/include/drm/ |
| H A D | drm_rect.h | 74 #define DRM_RECT_ARG(r) drm_rect_width(r), drm_rect_height(r), (r)->x1, (r)->y1 89 drm_rect_height(r) >> 16, ((drm_rect_height(r) & 0xffff) * 15625) >> 10, \ 196 static inline int drm_rect_height(const struct drm_rect *r) in drm_rect_height() function 210 return drm_rect_width(r) > 0 && drm_rect_height(r) > 0; in drm_rect_visible() 238 drm_rect_height(src) >> 16); in drm_rect_fp_to_int()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_rect.c | 106 u32 new_src_h = clip_scaled(drm_rect_height(src), in drm_rect_clip_scaled() 107 drm_rect_height(dst), &diff); in drm_rect_clip_scaled() 122 u32 new_src_h = clip_scaled(drm_rect_height(src), in drm_rect_clip_scaled() 123 drm_rect_height(dst), &diff); in drm_rect_clip_scaled() 207 int src_h = drm_rect_height(src); in drm_rect_calc_vscale() 208 int dst_h = drm_rect_height(dst); in drm_rect_calc_vscale()
|
| H A D | drm_plane_helper.c | 114 .src_h = drm_rect_height(src), in drm_plane_helper_check_update() 118 .crtc_h = drm_rect_height(dst), in drm_plane_helper_check_update()
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_cursor.c | 55 y = max(-1 * drm_rect_height(&plane_state->uapi.dst) + 1, in intel_cursor_position() 78 int height = drm_rect_height(&plane_state->uapi.dst); in intel_cursor_size_ok() 125 int src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in intel_cursor_check_surface() 248 drm_rect_height(&plane_state->uapi.dst)); in i845_check_cursor() 284 unsigned int height = drm_rect_height(&plane_state->uapi.dst); in i845_cursor_update_arm() 437 int height = drm_rect_height(&plane_state->uapi.dst); in i9xx_cursor_size_ok() 493 drm_rect_height(&plane_state->uapi.dst)); in i9xx_check_cursor() 553 int et_y_position = drm_rect_height(&crtc_state->pipe_src) + 1; in wa_16021440873() 578 if (drm_rect_height(&plane_state->psr2_sel_fetch_area) > 0) { in i9xx_cursor_update_sel_fetch_arm() 663 int height = drm_rect_height(&plane_state->uapi.dst); in i9xx_cursor_update_arm()
|
| H A D | skl_universal_plane.c | 1417 u32 src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in skl_plane_update_noarm() 1543 val = (drm_rect_height(clip) - 1) << 16; in icl_plane_update_sel_fetch_noarm() 1565 int src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in icl_plane_update_noarm() 1639 drm_rect_height(&plane_state->psr2_sel_fetch_area) > 0) in icl_plane_update_sel_fetch_arm() 2063 int h = drm_rect_height(&plane_state->uapi.src) >> 16; in skl_check_main_surface() 2152 int luma_h = drm_rect_height(&plane_state->uapi.src) >> 16; in skl_check_nv12_aux_surface()
|
| H A D | intel_psr.c | 2653 drm_rect_height(&crtc_state->psr2_su_area)); in intel_psr2_program_trans_man_trk_ctl() 2699 height = drm_rect_height(&crtc_state->psr2_su_area); in psr2_pipe_srcsz_early_tpt_calc() 3067 if (drm_rect_height(&old_plane_state->psr2_sel_fetch_area) > 0) in intel_psr2_sel_fetch_update()
|
| /linux/drivers/gpu/drm/gud/ |
| H A D | gud_pipe.c | 69 height = drm_rect_height(rect); in gud_xrgb8888_to_r124() 116 len = drm_format_info_min_pitch(format, 0, width) * drm_rect_height(rect); in gud_xrgb8888_to_color() 164 len = pitch * drm_rect_height(rect); in gud_prep_flush() 215 req->height = cpu_to_le32(drm_rect_height(rect)); in gud_prep_flush() 340 lines = drm_rect_height(damage); in gud_flush_damage() 345 for (i = 0; i < DIV_ROUND_UP(drm_rect_height(damage), lines); i++) { in gud_flush_damage()
|
| /linux/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | dpu_hw_sspp.h | 368 src_size = (drm_rect_height(&cfg->src_rect) << 16) | in dpu_hw_setup_rects_impl() 371 dst_size = (drm_rect_height(&cfg->dst_rect) << 16) | in dpu_hw_setup_rects_impl()
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | plane.c | 242 src_h = drm_rect_height(&state->src) >> 16; in tegra_plane_calculate_memory_bandwidth() 244 dst_h = drm_rect_height(&state->dst); in tegra_plane_calculate_memory_bandwidth()
|
| H A D | dc.c | 848 window.src.h = drm_rect_height(&new_state->src) >> 16; in tegra_plane_atomic_update() 852 window.dst.h = drm_rect_height(&new_state->dst); in tegra_plane_atomic_update() 1090 value = (drm_rect_height(&src) & tegra->vmask) << 16 | in __tegra_cursor_atomic_update() 2171 window.src.h = drm_rect_height(&plane->state->src) >> 16; in tegra_crtc_update_memory_bandwidth() 2172 window.dst.h = drm_rect_height(&plane->state->dst); in tegra_crtc_update_memory_bandwidth() 2174 old_window.src.h = drm_rect_height(&old_plane_state->src) >> 16; in tegra_crtc_update_memory_bandwidth() 2175 old_window.dst.h = drm_rect_height(&old_plane_state->dst); in tegra_crtc_update_memory_bandwidth()
|
| /linux/drivers/gpu/drm/tiny/ |
| H A D | appletbdrm.c | 302 return drm_rect_width(rect) * drm_rect_height(rect) * in rect_size() 431 frame->width = cpu_to_le16(drm_rect_height(&damage)); in appletbdrm_flush_damage()
|
| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_format_helper_test.c | 585 return dst_pitch * drm_rect_height(clip); in conversion_buf_size()
|