diff options
| author | Eugeni Dodonov <eugeni.dodonov@intel.com> | 2012-04-13 16:08:38 -0400 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-04-17 05:50:49 -0400 |
| commit | ef4d084fae9d4719bc52f97e15e41e1602e3bc6e (patch) | |
| tree | c6cf0c06ac87d2ce59c4e2a688fea723b631eff8 | |
| parent | dc04a61a0503613e17bc1405538fec52e74d4b43 (diff) | |
drm/i915: add WRPLL divider programming bits
Those are used to program the WRPLL dividers correctly for each gives
frequency.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
| -rw-r--r-- | drivers/gpu/drm/i915/i915_reg.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index bc1a5c60822e..0668815d05d7 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h | |||
| @@ -4191,6 +4191,10 @@ | |||
| 4191 | #define WRPLL_PLL_SELECT_SSC (0x01<<28) | 4191 | #define WRPLL_PLL_SELECT_SSC (0x01<<28) |
| 4192 | #define WRPLL_PLL_SELECT_NON_SCC (0x02<<28) | 4192 | #define WRPLL_PLL_SELECT_NON_SCC (0x02<<28) |
| 4193 | #define WRPLL_PLL_SELECT_LCPLL_2700 (0x03<<28) | 4193 | #define WRPLL_PLL_SELECT_LCPLL_2700 (0x03<<28) |
| 4194 | /* WRPLL divider programming */ | ||
| 4195 | #define WRPLL_DIVIDER_REFERENCE(x) ((x)<<0) | ||
| 4196 | #define WRPLL_DIVIDER_POST(x) ((x)<<8) | ||
| 4197 | #define WRPLL_DIVIDER_FEEDBACK(x) ((x)<<16) | ||
| 4194 | 4198 | ||
| 4195 | /* Port clock selection */ | 4199 | /* Port clock selection */ |
| 4196 | #define PORT_CLK_SEL_A 0x46100 | 4200 | #define PORT_CLK_SEL_A 0x46100 |
