diff options
author | 2022-11-01 11:42:19 +0200 | |
---|---|---|
committer | 2022-12-13 18:17:52 +0200 | |
commit | 7971aacf6e2d5ee508f63bc3707766f27c0f3e2b (patch) | |
tree | 65831ae2518356bf5ce4ac88877f9005bf23f7f2 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | drm/i915: Fix intel_dp_mst_compute_link_config (diff) | |
download | linux-rng-7971aacf6e2d5ee508f63bc3707766f27c0f3e2b.tar.xz linux-rng-7971aacf6e2d5ee508f63bc3707766f27c0f3e2b.zip |
drm/i915: Extract drm_dp_atomic_find_vcpi_slots cycle to separate function
We would be using almost same code to loop through bpps while calling
drm_dp_atomic_find_vcpi_slots - lets remove this duplication by
introducing a new function intel_dp_mst_find_vcpi_slots_for_bpp
v2: Fix pbn_div calculation - shouldn't matter if its DSC or not.
v3: FIx rebase conflict, constant_n no longer needed.
Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221101094222.22091-4-stanislav.lisovskiy@intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions