Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c3403 struct dc_cursor_position pos_cpy = pipe_ctx->stream->cursor_position; in dcn10_set_cursor_position() local
3421 int x_pos = pos_cpy.x; in dcn10_set_cursor_position()
3422 int y_pos = pos_cpy.y; in dcn10_set_cursor_position()
3472 if (pos_cpy.translate_by_source) { in dcn10_set_cursor_position()
3483 pos_cpy.x_hotspot -= x_pos; in dcn10_set_cursor_position()
3488 pos_cpy.y_hotspot -= y_pos; in dcn10_set_cursor_position()
3492 pos_cpy.x = (uint32_t)x_pos; in dcn10_set_cursor_position()
3493 pos_cpy.y = (uint32_t)y_pos; in dcn10_set_cursor_position()
3497 pos_cpy.enable = false; in dcn10_set_cursor_position()
3499 if (pos_cpy.enable && dcn10_can_pipe_disable_cursor(pipe_ctx)) in dcn10_set_cursor_position()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c2889 struct dc_cursor_position pos_cpy = pipe_ctx->stream->cursor_position; in dce110_set_cursor_position() local
2914 if (pos_cpy.translate_by_source) { in dce110_set_cursor_position()
2915 pos_cpy.x += pipe_ctx->plane_state->src_rect.x; in dce110_set_cursor_position()
2916 pos_cpy.y += pipe_ctx->plane_state->src_rect.y; in dce110_set_cursor_position()
2921 pos_cpy.enable = false; in dce110_set_cursor_position()
2924 pos_cpy.enable = false; in dce110_set_cursor_position()
2927 ipp->funcs->ipp_cursor_set_position(ipp, &pos_cpy, &param); in dce110_set_cursor_position()
2929 mi->funcs->set_cursor_position(mi, &pos_cpy, &param); in dce110_set_cursor_position()