drm/i915: Store the HDMI default entry in the bug trans struct
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 8 Jun 2021 07:35:54 +0000 (10:35 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 23 Jun 2021 12:30:29 +0000 (15:30 +0300)
commitd2c496f7c9bb7bd8db96f5408d7cdd075497e599
treea5b36a4c0aa093303b9e2def22b940f1aaa217af
parent87f7074330a35966cabfb7bacbd9a0ad67b61337
drm/i915: Store the HDMI default entry in the bug trans struct

Store the default HDMI buf trans entry in struct intel_ddi_buf_trans
so that it's next to the actual table. This let's us start ridding
ourselves of some platofrm specifics in intel_ddi_hdmi_num_entries().

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