[Intel-gfx] [PATCH 20/37] drm/i915: add WM_LINETIME registers

Rodrigo Vivi rodrigo.vivi at gmail.com
Mon Mar 26 19:40:57 CEST 2012


* indentation
Reviewed-by: Rodrigo Vivi <rodrigo.vivi at gmail.com>

On Wed, Mar 21, 2012 at 10:09 PM, Eugeni Dodonov
<eugeni.dodonov at intel.com> wrote:
> Watermark line time registers for display low power watermark.
>
> Signed-off-by: Eugeni Dodonov <eugeni.dodonov at intel.com>
> ---
>  drivers/gpu/drm/i915/i915_reg.h |   10 ++++++++++
>  1 file changed, 10 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
> index fa9e3a8..76f7acb 100644
> --- a/drivers/gpu/drm/i915/i915_reg.h
> +++ b/drivers/gpu/drm/i915/i915_reg.h
> @@ -4021,4 +4021,14 @@
>  #define  LCPLL_CD_CLOCK_DISABLE        (1<<25)
>  #define  LCPLL_CD2X_CLOCK_DISABLE      (1<<23)
>
> +/* Pipe WM_LINETIME - watermark line time */
> +#define PIPE_WM_LINETIME_A             0x45270
> +#define PIPE_WM_LINETIME_B             0x45274
> +#define PIPE_WM_LINETIME(pipe) _PIPE(pipe, \
> +                                       PIPE_WM_LINETIME_A, \
> +                                       PIPE_WM_LINETIME_A)
> +#define   PIPE_WM_LINETIME_LINETIME_MASK               (0x1ff)
> +#define   PIPE_WM_LINETIME_LINETIME(x)                 ((x))
> +#define   PIPE_WM_LINETIME_IPS_LINETIME_MASK   (0x1ff<<16)
> +#define   PIPE_WM_LINETIME_IPS_LINETIME(x)             ((x)<<16)
>  #endif /* _I915_REG_H_ */
> --
> 1.7.9.2
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx



-- 
Rodrigo Vivi
Blog: http://blog.vivi.eng.br
GPG: 0x905BE242 @ wwwkeys.pgp.net



More information about the Intel-gfx mailing list