drm/i915/cnl: don't hardcode DPCLKA_CFGCR0_DDI_CLK_SEL_SHIFT
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 25 Aug 2017 19:40:04 +0000 (16:40 -0300)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Sat, 26 Aug 2017 00:12:45 +0000 (21:12 -0300)
commitdfbd4508326218d63e75715217a495adc0b4a454
treeca65b0daa9fa31e5b1a4be789e5c89a198ef4174
parente192839e3e6366b82dc11789dc087738f291950e
drm/i915/cnl: don't hardcode DPCLKA_CFGCR0_DDI_CLK_SEL_SHIFT

We have the macro, use it. Makes the code a little easier to
understand.

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170825194004.26571-1-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/intel_display.c