OSDN Git Service

drm/i915: refactor ddi translations into a separate file (v2)
authorDave Airlie <airlied@redhat.com>
Thu, 4 Feb 2021 19:43:18 +0000 (21:43 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 5 Feb 2021 13:43:36 +0000 (15:43 +0200)
commit99092a976c8c3632bbdc021a149970b1c069b74b
tree732231b27aec4762b11ba1e8bb4c57511bb8be5f
parent64218f91ab49a8aa1d0e5793cc9e29f03a93639b
drm/i915: refactor ddi translations into a separate file (v2)

Ville suggested this, these tables are probably better being
standalone.

This fixes up the cnl/bxt interfaces to be like the others,
the intel one I left alone since it has a few extra entrypoints.

v2: add back missing rocketlake bits.
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
[Jani: made some functions static]
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/def9eed2581d71863ccdf35f323b525facc2482c.1612467466.git.jani.nikula@intel.com
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c [new file with mode: 0644]
drivers/gpu/drm/i915/display/intel_ddi_buf_trans.h [new file with mode: 0644]