Re: [PATCH 07/71] drm/i915/chv: Add DPFLIPSTAT register bits for Cherryview

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 01, 2014 at 01:55:23PM +0000, Barbalho, Rafael wrote:
> > -----Original Message-----
> > From: Intel-gfx [mailto:intel-gfx-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf
> > Of ville.syrjala@xxxxxxxxxxxxxxx
> > Sent: Wednesday, April 09, 2014 11:28 AM
> > To: intel-gfx@xxxxxxxxxxxxxxxxxxxxx
> > Subject:  [PATCH 07/71] drm/i915/chv: Add DPFLIPSTAT register
> > bits for Cherryview
> > 
> > From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
> > 
> > CHV has pipe C and PSR which cause changes to DPFLIPSTAT.
> > 
> > Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
> 
> If we add the _CHV to some of the bitfield defines would you also add them to here? These are also CHV specific.

I figured these are pretty clear even w/o the suffix. Everyone ought to
know VLV has two pipes and CHV has three.

> 
> Reviewed-by: Rafael Barbalho <rafael.barbalho@xxxxxxxxx>
> 
> > ---
> >  drivers/gpu/drm/i915/i915_reg.h | 7 +++++++
> >  1 file changed, 7 insertions(+)
> > 
> > diff --git a/drivers/gpu/drm/i915/i915_reg.h
> > b/drivers/gpu/drm/i915/i915_reg.h index 0fb6b6f..81d4b83 100644
> > --- a/drivers/gpu/drm/i915/i915_reg.h
> > +++ b/drivers/gpu/drm/i915/i915_reg.h
> > @@ -3451,12 +3451,19 @@ enum punit_power_well {
> >  #define   SPRITED_FLIP_DONE_INT_EN		(1<<26)
> >  #define   SPRITEC_FLIP_DONE_INT_EN		(1<<25)
> >  #define   PLANEB_FLIP_DONE_INT_EN		(1<<24)
> > +#define   PIPE_PSR_INT_EN			(1<<22)
> >  #define   PIPEA_LINE_COMPARE_INT_EN		(1<<21)
> >  #define   PIPEA_HLINE_INT_EN			(1<<20)
> >  #define   PIPEA_VBLANK_INT_EN			(1<<19)
> >  #define   SPRITEB_FLIP_DONE_INT_EN		(1<<18)
> >  #define   SPRITEA_FLIP_DONE_INT_EN		(1<<17)
> >  #define   PLANEA_FLIPDONE_INT_EN		(1<<16)
> > +#define   PIPEC_LINE_COMPARE_INT_EN		(1<<13)
> > +#define   PIPEC_HLINE_INT_EN			(1<<12)
> > +#define   PIPEC_VBLANK_INT_EN			(1<<11)
> > +#define   SPRITEF_FLIPDONE_INT_EN		(1<<10)
> > +#define   SPRITEE_FLIPDONE_INT_EN		(1<<9)
> > +#define   PLANEC_FLIPDONE_INT_EN		(1<<8)
> > 
> >  #define DPINVGTT				(VLV_DISPLAY_BASE +
> > 0x7002c) /* VLV only */
> >  #define   CURSORB_INVALID_GTT_INT_EN		(1<<23)
> > --
> > 1.8.3.2
> > 
> > _______________________________________________
> > Intel-gfx mailing list
> > Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
> > http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Ville Syrjälä
Intel OTC
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux