drm/i915/display: remove explicit CNL handling from intel_ddi.c
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 28 Jul 2021 21:59:27 +0000 (14:59 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 30 Jul 2021 17:11:25 +0000 (10:11 -0700)
commit4da27d5dfe669e231ede7f5e4d6eb4093cc7a574
tree877dc537b259c7975244c5b3ec24fa8ece40bd73
parent89a346007c450c66ce96d90b2af25eb37140b1b2
drm/i915/display: remove explicit CNL handling from intel_ddi.c

The only real platform with DISPLAY_VER == 10 is GLK. We don't need to
handle CNL explicitly in intel_ddi.c.

Remove code and rename functions/macros accordingly to use ICL prefix.
There's one leftover reference to cnl that comes from the struct
intel_ddi_buf_trans. This will be renamed later when we get rid of the
additional CNL tables.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210728215946.1573015-7-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c