Home
last modified time | relevance | path

Searched refs:x_hotspot (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/drivers/gpu/drm/amd/display/dc/dpp/dcn10/
H A Ddcn10_dpp.c444 int x_hotspot = pos->x_hotspot; in dpp1_set_cursor_position() local
446 int src_x_offset = x_pos - pos->x_hotspot; in dpp1_set_cursor_position()
455 swap(x_hotspot, y_hotspot); in dpp1_set_cursor_position()
459 src_x_offset = x_pos - (cursor_width - x_hotspot); in dpp1_set_cursor_position()
463 src_x_offset = x_pos - x_hotspot; in dpp1_set_cursor_position()
469 src_x_offset = x_pos - (cursor_width - x_hotspot); in dpp1_set_cursor_position()
/linux-6.15/drivers/gpu/drm/amd/display/dc/hubp/dcn10/
H A Ddcn10_hubp.c1205 int x_hotspot = pos->x_hotspot; in hubp1_cursor_set_position() local
1207 int src_x_offset = x_pos - pos->x_hotspot; in hubp1_cursor_set_position()
1229 swap(x_hotspot, y_hotspot); in hubp1_cursor_set_position()
1233 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp1_cursor_set_position()
1237 src_x_offset = x_pos - x_hotspot; in hubp1_cursor_set_position()
1243 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp1_cursor_set_position()
1282 CURSOR_HOT_SPOT_X, pos->x_hotspot, in hubp1_cursor_set_position()
/linux-6.15/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
H A Ddcn20_hubp.c995 int x_hotspot = pos->x_hotspot; in hubp2_cursor_set_position() local
997 int src_x_offset = x_pos - pos->x_hotspot; in hubp2_cursor_set_position()
1019 swap(x_hotspot, y_hotspot); in hubp2_cursor_set_position()
1023 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp2_cursor_set_position()
1027 src_x_offset = x_pos - x_hotspot; in hubp2_cursor_set_position()
1033 src_x_offset = x_pos - (cursor_width - x_hotspot); in hubp2_cursor_set_position()
1074 CURSOR_HOT_SPOT_X, pos->x_hotspot, in hubp2_cursor_set_position()
1084 hubp->pos.hot_spot.bits.x_hot = pos->x_hotspot; in hubp2_cursor_set_position()
/linux-6.15/drivers/gpu/drm/amd/display/dc/hubp/dcn401/
H A Ddcn401_hubp.c701 int rec_x_offset = x_pos - pos->x_hotspot; in hubp401_cursor_set_position()
715 x_hot_viewport = pos->x_hotspot * param->viewport.width / param->recout.width; in hubp401_cursor_set_position()
718 ASSERT(!cur_en || pos->x_hotspot == 0); in hubp401_cursor_set_position()
758 CURSOR_HOT_SPOT_X, pos->x_hotspot, in hubp401_cursor_set_position()
768 hubp->pos.hot_spot.bits.x_hot = pos->x_hotspot; in hubp401_cursor_set_position()
/linux-6.15/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_ipp.c60 CURSOR_HOT_SPOT_X, position->x_hotspot, in dce_ipp_cursor_set_position()
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c981 pos_cpy->x_hotspot /= 2; in adjust_hotspot_between_slices_for_2x_magnify()
982 pos_cpy->x_hotspot += 1; in adjust_hotspot_between_slices_for_2x_magnify()
984 pos_cpy->x_hotspot /= 2; in adjust_hotspot_between_slices_for_2x_magnify()
985 pos_cpy->x_hotspot += 2; in adjust_hotspot_between_slices_for_2x_magnify()
1138 pos_cpy.x_hotspot -= x_pos; in dcn401_set_cursor_position()
1159 pos_cpy.x_hotspot -= bottom_pipe_x_pos; in dcn401_set_cursor_position()
1174 recout_x_pos = x_pos - pos_cpy.x_hotspot; in dcn401_set_cursor_position()
/linux-6.15/drivers/gpu/drm/amd/display/dc/
H A Ddc_hw_types.h476 uint32_t x_hotspot; member
/linux-6.15/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.c1325 position->x_hotspot = xorigin; in amdgpu_dm_plane_get_cursor_position()
/linux-6.15/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
H A Ddcn10_hwseq.c3511 pos_cpy.x_hotspot -= x_pos; in dcn10_set_cursor_position()