Home
last modified time | relevance | path

Searched refs:mpc_slice_idx (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/spl/
Ddc_spl.c141 int mpc_slice_idx = spl_in->basic_in.mpc_combine_v; in calculate_mpc_slice_in_timing_active() local
146 mpc_rec.x = plane_clip_rec->x + mpc_rec.width * mpc_slice_idx; in calculate_mpc_slice_in_timing_active()
156 if (mpc_slice_idx > epimo) { in calculate_mpc_slice_in_timing_active()
157 mpc_rec.x += mpc_slice_idx - epimo - 1; in calculate_mpc_slice_in_timing_active()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c913 int mpc_slice_idx = resource_get_mpc_slice_index(pipe_ctx); in calculate_mpc_slice_in_timing_active() local
918 mpc_rec.x = plane_clip_rec->x + mpc_rec.width * mpc_slice_idx; in calculate_mpc_slice_in_timing_active()
926 mpc_rec.x -= (mpc_rec.width * mpc_slice_idx); in calculate_mpc_slice_in_timing_active()
931 if (mpc_slice_idx > epimo) { in calculate_mpc_slice_in_timing_active()
932 mpc_rec.x += mpc_slice_idx - epimo - 1; in calculate_mpc_slice_in_timing_active()