Home
last modified time | relevance | path

Searched refs:pos_cpy (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
Ddcn401_hwseq.c1089 …st_hotspot_between_slices_for_2x_magnify(uint32_t cursor_width, struct dc_cursor_position *pos_cpy) in adjust_hotspot_between_slices_for_2x_magnify() argument
1092 pos_cpy->x_hotspot /= 2; in adjust_hotspot_between_slices_for_2x_magnify()
1093 pos_cpy->x_hotspot += 1; in adjust_hotspot_between_slices_for_2x_magnify()
1095 pos_cpy->x_hotspot /= 2; in adjust_hotspot_between_slices_for_2x_magnify()
1096 pos_cpy->x_hotspot += 2; in adjust_hotspot_between_slices_for_2x_magnify()
1102 struct dc_cursor_position pos_cpy = pipe_ctx->stream->cursor_position; in dcn401_set_cursor_position() local
1124 int x_pos = pos_cpy.x; in dcn401_set_cursor_position()
1125 int y_pos = pos_cpy.y; in dcn401_set_cursor_position()
1172 if (pos_cpy.translate_by_source) { in dcn401_set_cursor_position()
1197 pos_cpy.x_hotspot -= x_pos; in dcn401_set_cursor_position()
[all …]
Ddcn401_hwseq.h83 …t_hotspot_between_slices_for_2x_magnify(uint32_t cursor_width, struct dc_cursor_position *pos_cpy);
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
Ddcn10_hwseq.c3481 struct dc_cursor_position pos_cpy = pipe_ctx->stream->cursor_position; in dcn10_set_cursor_position() local
3500 int x_pos = pos_cpy.x; in dcn10_set_cursor_position()
3501 int y_pos = pos_cpy.y; in dcn10_set_cursor_position()
3551 if (pos_cpy.translate_by_source) { in dcn10_set_cursor_position()
3562 pos_cpy.x_hotspot -= x_pos; in dcn10_set_cursor_position()
3567 pos_cpy.y_hotspot -= y_pos; in dcn10_set_cursor_position()
3571 pos_cpy.x = (uint32_t)x_pos; in dcn10_set_cursor_position()
3572 pos_cpy.y = (uint32_t)y_pos; in dcn10_set_cursor_position()
3576 pos_cpy.enable = false; in dcn10_set_cursor_position()
3578 if (pos_cpy.enable && dcn10_can_pipe_disable_cursor(pipe_ctx)) in dcn10_set_cursor_position()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dce110/
Ddce110_hwseq.c3081 struct dc_cursor_position pos_cpy = pipe_ctx->stream->cursor_position; in dce110_set_cursor_position() local
3106 if (pos_cpy.translate_by_source) { in dce110_set_cursor_position()
3107 pos_cpy.x += pipe_ctx->plane_state->src_rect.x; in dce110_set_cursor_position()
3108 pos_cpy.y += pipe_ctx->plane_state->src_rect.y; in dce110_set_cursor_position()
3113 pos_cpy.enable = false; in dce110_set_cursor_position()
3116 pos_cpy.enable = false; in dce110_set_cursor_position()
3119 ipp->funcs->ipp_cursor_set_position(ipp, &pos_cpy, &param); in dce110_set_cursor_position()
3121 mi->funcs->set_cursor_position(mi, &pos_cpy, &param); in dce110_set_cursor_position()