drm/amd/display: Rename build_cursor_position to dcn10_build_cursor_pos_update_params

This commit contains renames, adding const to pipe_ctx in
build_cursor_pos_update_params and also removing unnecessary checks
before dc_dmub_srv_is_cursor_offload_enabled().

[Why]
It improves code clarity.

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Piotr Maziarz <piotr.maziarz@amd.com>
Signed-off-by: George Zhang <george.zhang@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Piotr Maziarz 2026-09-07 12:07:01 +02:00 • committed by Alex Deucher
commit fd1ebd27a4
22 changed files with 30 additions and 35 deletions