[Why & How]
Fix implicit narrowing conversion warnings.
Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Gaghik Khachatrian <gaghik.khachatrian@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
struct pipe_ctx *pipe_ctx = params->send_cursor_info_to_dmu_params.pipe_ctx;
int pipe_idx = params->send_cursor_info_to_dmu_params.pipe_idx;
- dc_send_update_cursor_info_to_dmu(pipe_ctx, pipe_idx);
+ dc_send_update_cursor_info_to_dmu(pipe_ctx, (uint8_t)pipe_idx);
}
void hwss_set_cursor_attribute(union block_sequence_params *params)