diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-02-07 19:32:28 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-03-19 12:57:29 +0200 |
commit | 2ee7fd1efe6255732e2086641d574abe36d773dd (patch) | |
tree | 5f5843324dd9c13eac70807afff51aceb7ce4ac0 /drivers/gpu/drm/i915/i915_reg.h | |
parent | dc41e918d1597718857ab1d7a599c0f63eba8139 (diff) | |
download | linux-stable-2ee7fd1efe6255732e2086641d574abe36d773dd.tar.gz linux-stable-2ee7fd1efe6255732e2086641d574abe36d773dd.tar.bz2 linux-stable-2ee7fd1efe6255732e2086641d574abe36d773dd.zip |
drm/i915: Fix readout for cnl DPLL kdiv==3
The readout code thinks that kdiv of 3 is 4. Fix it.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190207173230.22368-11-ville.syrjala@linux.intel.com
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_reg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index 477dfda38fc7..85e8d1a1f70b 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h @@ -9850,7 +9850,7 @@ enum skl_power_gate { #define DPLL_CFGCR1_KDIV(x) ((x) << 6) #define DPLL_CFGCR1_KDIV_1 (1 << 6) #define DPLL_CFGCR1_KDIV_2 (2 << 6) -#define DPLL_CFGCR1_KDIV_4 (4 << 6) +#define DPLL_CFGCR1_KDIV_3 (4 << 6) #define DPLL_CFGCR1_PDIV_MASK (0xf << 2) #define DPLL_CFGCR1_PDIV_SHIFT (2) #define DPLL_CFGCR1_PDIV(x) ((x) << 2) |