Home
last modified time | relevance | path

Searched refs:src_y_offset (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn10/
H A 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()
H A 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_dpp.c446 int src_y_offset = pos->y - pos->y_hotspot - param->viewport.y; in dpp1_set_cursor_position() local
454 src_y_offset = pos->y - pos->x_hotspot - param->viewport.y; in dpp1_set_cursor_position()
458 src_y_offset = pos->y - param->viewport.y; in dpp1_set_cursor_position()
468 if (src_y_offset >= (int)param->viewport.height) in dpp1_set_cursor_position()
471 if (src_y_offset + (int)height <= 0) in dpp1_set_cursor_position()
H A Ddcn10_hubp.c1154 int src_y_offset = pos->y - pos->y_hotspot - param->viewport.y; in hubp1_cursor_set_position() local
1177 src_y_offset = pos->y - pos->x_hotspot - param->viewport.y; in hubp1_cursor_set_position()
1181 src_y_offset = pos->y - param->viewport.y; in hubp1_cursor_set_position()
1206 if (src_y_offset >= (int)param->viewport.height) in hubp1_cursor_set_position()
1209 if (src_y_offset + cursor_height <= 0) in hubp1_cursor_set_position()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn20/
H A 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_hubp.c971 int src_y_offset = pos->y - pos->y_hotspot - param->viewport.y; in hubp2_cursor_set_position() local
994 src_y_offset = pos->y - pos->x_hotspot - param->viewport.y; in hubp2_cursor_set_position()
998 src_y_offset = pos->y - param->viewport.y; in hubp2_cursor_set_position()
1023 if (src_y_offset >= (int)param->viewport.height) in hubp2_cursor_set_position()
1026 if (src_y_offset + cursor_height <= 0) in hubp2_cursor_set_position()

Completed in 9 milliseconds