Searched refs:yorigin (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/radeon/ |
D | radeon_cursor.c | 148 int xorigin = 0, yorigin = 0; in radeon_cursor_move_locked() local 163 yorigin = min(-y, radeon_crtc->max_cursor_height - 1); in radeon_cursor_move_locked() 215 y += yorigin; in radeon_cursor_move_locked() 219 WREG32(EVERGREEN_CUR_HOT_SPOT + radeon_crtc->crtc_offset, (xorigin << 16) | yorigin); in radeon_cursor_move_locked() 224 WREG32(AVIVO_D1CUR_HOT_SPOT + radeon_crtc->crtc_offset, (xorigin << 16) | yorigin); in radeon_cursor_move_locked() 237 | yorigin)); in radeon_cursor_move_locked() 245 yorigin * 256); in radeon_cursor_move_locked()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_plane.c | 1289 int xorigin = 0, yorigin = 0; in amdgpu_dm_plane_get_cursor_position() local 1315 yorigin = min(-y, amdgpu_crtc->max_cursor_height - 1); in amdgpu_dm_plane_get_cursor_position() 1322 position->y_hotspot = yorigin; in amdgpu_dm_plane_get_cursor_position()
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v6_0.c | 2245 int xorigin = 0, yorigin = 0; in dce_v6_0_cursor_move_locked() local 2262 yorigin = min(-y, amdgpu_crtc->max_cursor_height - 1); in dce_v6_0_cursor_move_locked() 2267 WREG32(mmCUR_HOT_SPOT + amdgpu_crtc->crtc_offset, (xorigin << 16) | yorigin); in dce_v6_0_cursor_move_locked()
|
D | dce_v8_0.c | 2246 int xorigin = 0, yorigin = 0; in dce_v8_0_cursor_move_locked() local 2261 yorigin = min(-y, amdgpu_crtc->max_cursor_height - 1); in dce_v8_0_cursor_move_locked() 2266 WREG32(mmCUR_HOT_SPOT + amdgpu_crtc->crtc_offset, (xorigin << 16) | yorigin); in dce_v8_0_cursor_move_locked()
|
D | dce_v10_0.c | 2327 int xorigin = 0, yorigin = 0; in dce_v10_0_cursor_move_locked() local 2342 yorigin = min(-y, amdgpu_crtc->max_cursor_height - 1); in dce_v10_0_cursor_move_locked() 2347 WREG32(mmCUR_HOT_SPOT + amdgpu_crtc->crtc_offset, (xorigin << 16) | yorigin); in dce_v10_0_cursor_move_locked()
|
D | dce_v11_0.c | 2411 int xorigin = 0, yorigin = 0; in dce_v11_0_cursor_move_locked() local 2426 yorigin = min(-y, amdgpu_crtc->max_cursor_height - 1); in dce_v11_0_cursor_move_locked() 2431 WREG32(mmCUR_HOT_SPOT + amdgpu_crtc->crtc_offset, (xorigin << 16) | yorigin); in dce_v11_0_cursor_move_locked()
|