/linux-6.12.1/include/drm/ |
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-6.12.1/drivers/gpu/drm/ |
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()
|
D | drm_panic.c | 313 for (y = 0; y < drm_rect_height(clip); y++) in drm_panic_blit_pixel() 348 drm_rect_height(clip), drm_rect_width(clip), scale, fg_color); in drm_panic_blit() 352 drm_rect_height(clip), drm_rect_width(clip), scale, fg_color); in drm_panic_blit() 356 drm_rect_height(clip), drm_rect_width(clip), scale, fg_color); in drm_panic_blit() 409 for (y = 0; y < drm_rect_height(clip); y++) in drm_panic_fill_pixel() 435 drm_panic_fill16(&map, sb->pitch[0], drm_rect_height(clip), in drm_panic_fill() 439 drm_panic_fill24(&map, sb->pitch[0], drm_rect_height(clip), in drm_panic_fill() 443 drm_panic_fill32(&map, sb->pitch[0], drm_rect_height(clip), in drm_panic_fill() 482 msg_lines = min(msg_lines, drm_rect_height(clip) / font->height); in draw_txt_rectangle() 819 v_margin = (sb->height - drm_rect_height(&r_qr_canvas) - drm_rect_height(&r_msg)) / 5; in _draw_panic_static_qr_code() [all …]
|
D | drm_plane_helper.c | 113 .src_h = drm_rect_height(src), in drm_plane_helper_check_update() 117 .crtc_h = drm_rect_height(dst), in drm_plane_helper_check_update()
|
D | drm_format_helper.c | 143 unsigned long lines = drm_rect_height(clip); in __drm_fb_xfrm() 185 unsigned long lines = drm_rect_height(clip); in __drm_fb_xfrm_toio() 274 unsigned int i, y, lines = drm_rect_height(clip); in drm_fb_memcpy() 1122 unsigned int lines = drm_rect_height(clip); in drm_fb_xrgb8888_to_mono()
|
/linux-6.12.1/drivers/gpu/drm/i915/display/ |
D | intel_cursor.c | 64 y = max(-1 * drm_rect_height(&plane_state->uapi.dst) + 1, in intel_cursor_position() 87 int height = drm_rect_height(&plane_state->uapi.dst); in intel_cursor_size_ok() 133 int src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in intel_cursor_check_surface() 253 drm_rect_height(&plane_state->uapi.dst)); in i845_check_cursor() 287 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() 492 drm_rect_height(&plane_state->uapi.dst)); in i9xx_check_cursor() 548 int et_y_position = drm_rect_height(&crtc_state->pipe_src) + 1; in wa_16021440873() 570 if (drm_rect_height(&plane_state->psr2_sel_fetch_area) > 0) { in i9xx_cursor_update_sel_fetch_arm() 655 int height = drm_rect_height(&plane_state->uapi.dst); in i9xx_cursor_update_arm()
|
D | skl_scaler.c | 115 int pipe_src_h = drm_rect_height(&crtc_state->pipe_src); in skl_update_scaler() 245 height = drm_rect_height(&crtc_state->pch_pfit.dst); in skl_update_scaler_crtc() 254 drm_rect_height(&crtc_state->pipe_src), in skl_update_scaler_crtc() 288 drm_rect_height(&plane_state->uapi.src) >> 16, in skl_update_scaler_plane() 290 drm_rect_height(&plane_state->uapi.dst), in skl_update_scaler_plane() 718 int height = drm_rect_height(dst); in skl_pfit_enable() 735 drm_rect_height(&crtc_state->pipe_src) << 16); in skl_pfit_enable() 777 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in skl_program_plane_scaler()
|
D | intel_atomic_plane.c | 164 src_h = drm_rect_height(src) >> 16; in intel_adjusted_rate() 166 dst_h = drm_rect_height(dst); in intel_adjusted_rate() 250 height = drm_rect_height(&plane_state->uapi.src) >> 16; in intel_plane_relative_data_rate() 408 drm_rect_height(&new->uapi.src) != drm_rect_height(&cur->uapi.src) || in intel_wm_need_update() 410 drm_rect_height(&new->uapi.dst) != drm_rect_height(&cur->uapi.dst)) in intel_wm_need_update() 419 int src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in intel_plane_is_scaled() 421 int dst_h = drm_rect_height(&plane_state->uapi.dst); in intel_plane_is_scaled() 1018 src_h = drm_rect_height(src) >> 16; in intel_plane_check_src_coordinates()
|
D | intel_panel.c | 393 int pipe_src_h = drm_rect_height(&crtc_state->pipe_src); in pch_panel_fitting() 521 int pipe_src_h = drm_rect_height(&crtc_state->pipe_src); in i965_scale_aspect() 542 int pipe_src_h = drm_rect_height(&crtc_state->pipe_src); in i9xx_scale_aspect() 600 int pipe_src_h = drm_rect_height(&crtc_state->pipe_src); in gmch_panel_fitting()
|
D | intel_sprite.c | 391 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in vlv_sprite_update_noarm() 808 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in ivb_sprite_update_noarm() 810 u32 src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in ivb_sprite_update_noarm() 1145 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in g4x_sprite_update_noarm() 1147 u32 src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in g4x_sprite_update_noarm() 1279 crtc_h = drm_rect_height(dst); in g4x_sprite_check_scaling() 1283 src_h = drm_rect_height(src) >> 16; in g4x_sprite_check_scaling()
|
D | i9xx_plane.c | 296 int src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in i9xx_check_plane_surface() 433 int crtc_h = drm_rect_height(&plane_state->uapi.dst); in i9xx_plane_update_noarm() 475 int crtc_h = drm_rect_height(&plane_state->uapi.dst); in i9xx_plane_update_arm()
|
/linux-6.12.1/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_plane.c | 130 src_height = drm_rect_height(&pipe_cfg->src_rect); in _dpu_plane_calc_bw() 131 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_calc_bw() 171 src_height = drm_rect_height(&pipe_cfg->src_rect); in _dpu_plane_calc_clk() 173 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_calc_clk() 374 ot_params.height = drm_rect_height(&pipe_cfg->src_rect); in _dpu_plane_set_ot_limit() 539 u32 src_height = drm_rect_height(&pipe_cfg->src_rect); in _dpu_plane_setup_scaler() 541 u32 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_setup_scaler() 599 drm_rect_height(&pipe_cfg.dst_rect); in _dpu_plane_color_fill_pipe() 758 drm_rect_height(&pipe_cfg->src_rect) < min_src_size) { in dpu_plane_atomic_check_pipe() 769 drm_rect_height(&pipe_cfg->src_rect) & 0x1)) { in dpu_plane_atomic_check_pipe() [all …]
|
D | dpu_hw_wb.c | 110 if (drm_rect_height(&data->roi) && drm_rect_width(&data->roi)) in dpu_hw_wb_setup_format() 111 outsize = (drm_rect_height(&data->roi) << 16) | drm_rect_width(&data->roi); in dpu_hw_wb_setup_format() 133 out_size = (drm_rect_height(&wb->roi) << 16) | drm_rect_width(&wb->roi); in dpu_hw_wb_roi()
|
/linux-6.12.1/drivers/gpu/drm/armada/ |
D | armada_plane.c | 113 st->src_hw = drm_rect_height(&new_plane_state->src) >> 17; in armada_drm_plane_atomic_check() 115 st->dst_hw = drm_rect_height(&new_plane_state->dst) >> 1; in armada_drm_plane_atomic_check() 117 st->src_hw = drm_rect_height(&new_plane_state->src) >> 16; in armada_drm_plane_atomic_check() 119 st->dst_hw = drm_rect_height(&new_plane_state->dst); in armada_drm_plane_atomic_check()
|
/linux-6.12.1/drivers/gpu/drm/gud/ |
D | gud_pipe.c | 70 height = drm_rect_height(rect); in gud_xrgb8888_to_r124() 117 len = drm_format_info_min_pitch(format, 0, width) * drm_rect_height(rect); in gud_xrgb8888_to_color() 165 len = pitch * drm_rect_height(rect); in gud_prep_flush() 211 req->height = cpu_to_le32(drm_rect_height(rect)); in gud_prep_flush() 336 lines = drm_rect_height(damage); in gud_flush_damage() 341 for (i = 0; i < DIV_ROUND_UP(drm_rect_height(damage), lines); i++) { in gud_flush_damage()
|
/linux-6.12.1/drivers/gpu/drm/renesas/rz-du/ |
D | rzg2l_du_vsp.c | 136 cfg.src.height = drm_rect_height(&state->state.src) >> 16; in rzg2l_du_vsp_plane_setup() 141 cfg.dst.height = drm_rect_height(&state->state.dst); in rzg2l_du_vsp_plane_setup()
|
/linux-6.12.1/drivers/gpu/drm/sun4i/ |
D | sun8i_ui_layer.c | 65 src_h = drm_rect_height(&state->src) >> 16; in sun8i_ui_layer_update_coord() 67 dst_h = drm_rect_height(&state->dst); in sun8i_ui_layer_update_coord()
|
D | sun8i_vi_layer.c | 72 src_h = drm_rect_height(&state->src) >> 16; in sun8i_vi_layer_update_coord() 74 dst_h = drm_rect_height(&state->dst); in sun8i_vi_layer_update_coord()
|
/linux-6.12.1/drivers/gpu/drm/imx/ipuv3/ |
D | ipuv3-plane.c | 418 if (drm_rect_height(&new_state->dst) < 2) in ipu_plane_atomic_check() 430 drm_rect_height(&new_state->dst) != drm_rect_height(&old_state->dst) || in ipu_plane_atomic_check() 621 height = drm_rect_height(&new_state->src) >> 16; in ipu_plane_atomic_update()
|
/linux-6.12.1/drivers/gpu/drm/imx/dcss/ |
D | dcss-plane.c | 304 src_h = drm_rect_height(&src) >> 16; in dcss_plane_atomic_update() 306 dst_h = drm_rect_height(&dst); in dcss_plane_atomic_update()
|
/linux-6.12.1/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_vop2.c | 586 u32 height = drm_rect_height(src) >> 16; in vop2_afbc_transform_offset() 1095 if (drm_rect_width(src) >> 16 < 4 || drm_rect_height(src) >> 16 < 4 || in vop2_plane_atomic_check() 1098 drm_rect_width(src) >> 16, drm_rect_height(src) >> 16, in vop2_plane_atomic_check() 1099 drm_rect_width(dest), drm_rect_height(dest)); in vop2_plane_atomic_check() 1105 drm_rect_height(src) >> 16 > vop2_data->max_input.height) { in vop2_plane_atomic_check() 1108 drm_rect_height(src) >> 16, in vop2_plane_atomic_check() 1270 actual_h = drm_rect_height(src) >> 16; in vop2_plane_atomic_update() 1282 dsp_h = drm_rect_height(dest); in vop2_plane_atomic_update() 1290 actual_h = dsp_h * actual_h / drm_rect_height(dest); in vop2_plane_atomic_update() 1402 actual_w = drm_rect_height(src) >> 16; in vop2_plane_atomic_update()
|
/linux-6.12.1/drivers/gpu/drm/renesas/rcar-du/ |
D | rcar_du_vsp.c | 238 cfg.src.height = drm_rect_height(&state->state.src) >> 16; in rcar_du_vsp_plane_setup() 243 cfg.dst.height = drm_rect_height(&state->state.dst); in rcar_du_vsp_plane_setup()
|
/linux-6.12.1/drivers/gpu/drm/tests/ |
D | drm_rect_test.c | 22 KUNIT_EXPECT_EQ(test, drm_rect_height(r), drm_rect_height(expected)); in drm_rect_compare()
|
/linux-6.12.1/drivers/gpu/drm/vkms/ |
D | vkms_plane.c | 126 drm_rect_height(&frame_info->rotated), frame_info->rotation); in vkms_plane_atomic_update()
|
/linux-6.12.1/drivers/gpu/drm/tegra/ |
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()
|