drm/i915: Clean up jsl/ehl buf trans functions
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 8 Jun 2021 07:36:01 +0000 (10:36 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 24 Jun 2021 18:36:36 +0000 (21:36 +0300)
commit2b3bc165d0554f29263fef7c4a09debb6308f4b8
tree11ef117e89a86e9157bf06251f5341c2238878da
parent019d8146aa26d8239b4aac008f9717c44fcbe118
drm/i915: Clean up jsl/ehl buf trans functions

The jsl/ehl buf trans functions are needlessly complicated.
Simplify them.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210608073603.2408-16-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c