drm/i915/dp: Separate out functions for edp/DP for computing DSC bpp
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Thu, 17 Aug 2023 14:24:54 +0000 (19:54 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Fri, 18 Aug 2023 04:12:22 +0000 (09:42 +0530)
commit9c8160a34383194925ec318e32e95f58df38c4c5
treea22c6b6fc26094bf1802d0813a92bb69a523f848
parentb9a7efcd99111a8ebe8c666c1affdde919bbaa7d
drm/i915/dp: Separate out functions for edp/DP for computing DSC bpp

Refactor code to separate functions for eDP and DP for computing
pipe_bpp/compressed bpp when DSC is involved.

This will help to optimize the link configuration for DP later.

v2: Fix checkpatch warning.

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230817142459.89764-14-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_dp.c