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