Home
last modified time | relevance | path

Searched refs:src_y_offset (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp.c444 int src_y_offset = y_pos - pos->y_hotspot; in dpp1_set_cursor_position() local
457 src_y_offset = y_pos - y_hotspot; in dpp1_set_cursor_position()
461 src_y_offset = y_pos - (cursor_height - y_hotspot); in dpp1_set_cursor_position()
468 src_y_offset = y_pos - (cursor_height - y_hotspot); in dpp1_set_cursor_position()
477 if (src_y_offset >= (int)param->viewport.height) in dpp1_set_cursor_position()
480 if (src_y_offset + cursor_height <= 0) in dpp1_set_cursor_position()
Ddcn10_hubp.c1187 int src_y_offset = y_pos - pos->y_hotspot; in hubp1_cursor_set_position() local
1213 src_y_offset = y_pos - y_hotspot; in hubp1_cursor_set_position()
1217 src_y_offset = y_pos - (cursor_height - y_hotspot); in hubp1_cursor_set_position()
1224 src_y_offset = y_pos - (cursor_height - y_hotspot); in hubp1_cursor_set_position()
1244 if (src_y_offset >= (int)param->viewport.height) in hubp1_cursor_set_position()
1247 if (src_y_offset + cursor_height <= 0) in hubp1_cursor_set_position()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubp.c981 int src_y_offset = y_pos - pos->y_hotspot; in hubp2_cursor_set_position() local
1007 src_y_offset = y_pos - y_hotspot; in hubp2_cursor_set_position()
1011 src_y_offset = y_pos - (cursor_height - y_hotspot); in hubp2_cursor_set_position()
1018 src_y_offset = y_pos - (cursor_height - y_hotspot); in hubp2_cursor_set_position()
1038 if (src_y_offset >= (int)param->viewport.height) in hubp2_cursor_set_position()
1041 if (src_y_offset + cursor_height <= 0) in hubp2_cursor_set_position()
1075 if (src_y_offset < 0) in hubp2_cursor_set_position()
1076 src_y_offset = 0; in hubp2_cursor_set_position()
1086 hubp->cur_rect.y = src_y_offset + param->viewport.y; in hubp2_cursor_set_position()