[PATCH v5 13/15] drm/i915: Add helper functions for calculating DSC parameters for HDMI2.1