Stanislav Lisovskiy d797f67d1e drm/i915: Extract VESA DSC bpp alignment to separate function
We might to use that function separately from intel_dp_dsc_compute_config
for DP DSC over MST case, because allocating bandwidth in that
case can be a bit more tricky. So in order to avoid code copy-pasta
lets extract this to separate function and reuse it for both SST
and MST cases.

v2: Removed multiple blank lines
v3: Rename intel_dp_dsc_nearest_vesa_bpp to intel_dp_dsc_nearest_valid_bpp
    to reflect its meaning more properly.
    (Manasi Navare)

Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221123100551.29080-1-stanislav.lisovskiy@intel.com
2022-12-13 18:17:52 +02:00
..
2022-11-14 14:32:34 -05:00
2021-10-07 11:04:05 -07:00
2022-04-08 10:36:11 +02:00
2022-08-10 13:11:17 +03:00
2022-06-04 14:04:27 -07:00
2022-09-09 16:50:33 +03:00
2022-07-17 14:53:47 -04:00
2022-11-18 08:30:42 -08:00