drm/i915; Return the whole buf_trans struct from get_buf_trans()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 8 Jun 2021 07:35:53 +0000 (10:35 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 23 Jun 2021 12:29:39 +0000 (15:29 +0300)
commit87f7074330a35966cabfb7bacbd9a0ad67b61337
treedcfa05a2adb4153106999a70784fb1794601b81b
parent439ebf9ef1997eb39da2a11048216a40ebc0ad99
drm/i915; Return the whole buf_trans struct from get_buf_trans()

Raise the abstraction level of the get_buf_trans() functions
a bit more by returning the whole wrapper intel_ddi_buf_trans
struct.

v2: Handle adl-p

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-8-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c
drivers/gpu/drm/i915/display/intel_ddi_buf_trans.h