diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-11-17 17:40:28 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-11-18 15:35:07 +0200 |
commit | 83566d13704a2bfe75d0700a445d4ea30de60673 (patch) | |
tree | 0d2918c2e59b6c8c6a39cd93b406b12759a57452 /drivers/clk/bcm/clk-iproc-pll.c | |
parent | b896898c73696a7bbe6af36e8d5e8f394a5013f2 (diff) |
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/clk/bcm/clk-iproc-pll.c')
0 files changed, 0 insertions, 0 deletions