From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Subject: Re: [PATCH] drm/i915: Add Baytrail PSR Support. Date: Fri, 24 Jan 2014 16:53:16 +0200 Message-ID: <20140124145316.GH9454@intel.com> References: <1390501010-4641-4-git-send-email-rodrigo.vivi@gmail.com> <1390504793-6256-1-git-send-email-rodrigo.vivi@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id 2DB8BFAFB8 for ; Fri, 24 Jan 2014 06:53:19 -0800 (PST) Content-Disposition: inline In-Reply-To: <1390504793-6256-1-git-send-email-rodrigo.vivi@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: Rodrigo Vivi Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Thu, Jan 23, 2014 at 05:19:53PM -0200, Rodrigo Vivi wrote: > index 76126e0..f5501ab 100644 > --- a/drivers/gpu/drm/i915/i915_reg.h > +++ b/drivers/gpu/drm/i915/i915_reg.h > @@ -1969,6 +1969,40 @@ > #define BCLRPAT(pipe) _PIPE(pipe, _BCLRPAT_A, _BCLRPAT_B) > #define VSYNCSHIFT(trans) _TRANSCODER(trans, _VSYNCSHIFT_A, _VSYNCSHIFT_= B) > = > +/* VLV eDP PSR registers */ > +#define VLV_EDP_PSR_CTL (VLV_DISPLAY_BASE + 0x60090) VLV has per-pipe PSR registers. The ones you have here are just for pipe A. Seems like some rework is needed to make it work on either pipe. -- = Ville Syrj=E4l=E4 Intel OTC