diff options
author | Eugeni Dodonov <eugeni.dodonov@intel.com> | 2012-03-29 11:32:37 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-04-09 12:04:04 -0400 |
commit | 69e94b7e0900293d28ae42fcbd8c5613d4e94f69 (patch) | |
tree | 85fd955ae4ebc642f37f762e68dd0758ab258b06 /drivers/gpu/drm/i915/i915_reg.h | |
parent | 4dffc4043a392b4a0f13f033330d31833bbf9f35 (diff) |
drm/i915: add WM_LINETIME registers
Watermark line time registers for display low power watermark.
v2: improve bit names as suggested by Chris Wilson
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_reg.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index fa4d1d303623..9b34da991710 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h | |||
@@ -4195,4 +4195,14 @@ | |||
4195 | #define LCPLL_CD_CLOCK_DISABLE (1<<25) | 4195 | #define LCPLL_CD_CLOCK_DISABLE (1<<25) |
4196 | #define LCPLL_CD2X_CLOCK_DISABLE (1<<23) | 4196 | #define LCPLL_CD2X_CLOCK_DISABLE (1<<23) |
4197 | 4197 | ||
4198 | /* Pipe WM_LINETIME - watermark line time */ | ||
4199 | #define PIPE_WM_LINETIME_A 0x45270 | ||
4200 | #define PIPE_WM_LINETIME_B 0x45274 | ||
4201 | #define PIPE_WM_LINETIME(pipe) _PIPE(pipe, \ | ||
4202 | PIPE_WM_LINETIME_A, \ | ||
4203 | PIPE_WM_LINETIME_A) | ||
4204 | #define PIPE_WM_LINETIME_MASK (0x1ff) | ||
4205 | #define PIPE_WM_LINETIME_TIME(x) ((x)) | ||
4206 | #define PIPE_WM_LINETIME_IPS_LINETIME_MASK (0x1ff<<16) | ||
4207 | #define PIPE_WM_LINETIME_IPS_LINETIME(x) ((x)<<16) | ||
4198 | #endif /* _I915_REG_H_ */ | 4208 | #endif /* _I915_REG_H_ */ |