diff options
author | 2020-11-17 17:40:28 +0200 | |
---|---|---|
committer | 2020-11-18 15:35:07 +0200 | |
commit | 83566d13704a2bfe75d0700a445d4ea30de60673 (patch) | |
tree | 0d2918c2e59b6c8c6a39cd93b406b12759a57452 /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
parent | drm/i915: Tweaked Wa_14010685332 for PCHs used on gen11 platforms (diff) | |
download | linux-dev-83566d13704a2bfe75d0700a445d4ea30de60673.tar.xz linux-dev-83566d13704a2bfe75d0700a445d4ea30de60673.zip |
drm/i915: Fix the DDI encoder names
I totally fumbled the ?: usage when generating the DDI encoder
names. Reverse the things that need reversing, and to make it
a bit less messy add a few macros to hide the arithmetic on the
port enums.
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Fixes: 2d709a5a624c ("drm/i915: Give DDI encoders even better names")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201117154028.8516-1-ville.syrjala@linux.intel.com
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions