Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_hw_sequencer.c3423 int x_pos = pos_cpy.x; in dcn10_set_cursor_position()
3519 pos_cpy.x = 2 * viewport_x - pos_cpy.x; in dcn10_set_cursor_position()
3528 pos_cpy.x = viewport_width - pos_cpy.x + 2 * viewport_x; in dcn10_set_cursor_position()
3538 pos_cpy.y = temp_x; in dcn10_set_cursor_position()
3586 pos_cpy.x = pos_cpy.x - viewport_height; in dcn10_set_cursor_position()
3587 pos_cpy.y = viewport_height - pos_cpy.x; in dcn10_set_cursor_position()
3589 pos_cpy.y = 2 * viewport_height - pos_cpy.x; in dcn10_set_cursor_position()
3593 pos_cpy.y = (2 * viewport_y) + viewport_height - pos_cpy.x; in dcn10_set_cursor_position()
3595 pos_cpy.x = temp_y; in dcn10_set_cursor_position()
3612 pos_cpy.x = 2 * viewport_x - pos_cpy.x; in dcn10_set_cursor_position()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_hw_sequencer.c2894 struct dc_cursor_position pos_cpy = pipe_ctx->stream->cursor_position; in dce110_set_cursor_position() local
2919 if (pos_cpy.translate_by_source) { in dce110_set_cursor_position()
2920 pos_cpy.x += pipe_ctx->plane_state->src_rect.x; in dce110_set_cursor_position()
2921 pos_cpy.y += pipe_ctx->plane_state->src_rect.y; in dce110_set_cursor_position()
2926 pos_cpy.enable = false; in dce110_set_cursor_position()
2929 pos_cpy.enable = false; in dce110_set_cursor_position()
2932 ipp->funcs->ipp_cursor_set_position(ipp, &pos_cpy, &param); in dce110_set_cursor_position()
2934 mi->funcs->set_cursor_position(mi, &pos_cpy, &param); in dce110_set_cursor_position()