All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manasi Navare <manasi.d.navare@intel.com>
To: Jani Nikula <jani.nikula@intel.com>
Cc: intel-gfx@lists.freedesktop.org, Rodrigo Vivi <rodrigo.vivi@intel.com>
Subject: Re: [PATCH v8 29/38] drm/i915/icl: Add DSS_CTL Registers
Date: Thu, 1 Nov 2018 11:12:27 -0700	[thread overview]
Message-ID: <20181101181226.GG3481@intel.com> (raw)
In-Reply-To: <87sh0kkebw.fsf@intel.com>

On Thu, Nov 01, 2018 at 05:27:47PM +0200, Jani Nikula wrote:
> On Tue, 30 Oct 2018, Jani Nikula <jani.nikula@intel.com> wrote:
> > From: Anusha Srivatsa <anusha.srivatsa@intel.com>
> >
> > Add defines for DSS_CTL registers.
> > These registers specify the big joiner, splitter,
> > overlap pixels and info regarding
> > compression enabled on left or right branch.
> >
> > v2:
> > - rebase. Remove overlapping defines(James Ausmus)
> > - Rename the register to ICL_DSS_CTL1/2_PIPE_ (manasi)
> > - take pixels as an argument for overlap.(Manasi)
> >
> > v3:
> > - rebase. merge DSS_CTL1/2 introduced in Madhav's patch
> >   to avoid confusion (madhav chauhan)
> > - Rename registers in accordance to BSpec (Madhav, Rodrigo)
> > - Add define to conditionally check the buffer target depth (James Ausmus)
> >
> > v4:
> > - remove redundant definitions.(madhav)
> >
> > v5:
> > - Add mask for overlap pixels.
> > - Code Style changes.(Madhav)
> > v6:
> > - Code style changes. (Madhav)
> >
> > Suggested-by: Madhav Chauhan <madhav.chauhan@intel.com>
> > Cc: Madhav Chauhan <madhav.chauhan@intel.com>
> > cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> > Cc: James Ausmus <james.ausmus@intel.com>
> > Cc: Gaurav Singh <gaurav.k.singh@intel.com>
> > Cc: Jani Nikula <jani.nikula@linux.intel.com>
> > Cc: Manasi Navare <manasi.d.navare@intel.com>
> > Signed-off-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
> > Signed-off-by: Jani Nikula <jani.nikula@intel.com>
> 
> Pushed to dinq.

This does not have changes mentioned in v3, not the latest patch.
Latest patch is this one:

https://patchwork.freedesktop.org/patch/258331/

> 
> BR,
> Jani.
> 
> > ---
> >  drivers/gpu/drm/i915/i915_reg.h | 33 +++++++++++++++++++++++++++++++++
> >  1 file changed, 33 insertions(+)
> >
> > diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
> > index 639667d0fb00..b9aaa71dabe2 100644
> > --- a/drivers/gpu/drm/i915/i915_reg.h
> > +++ b/drivers/gpu/drm/i915/i915_reg.h
> > @@ -10033,6 +10033,39 @@ enum skl_power_gate {
> >  						    _ICL_DSI_IO_MODECTL_1)
> >  #define  COMBO_PHY_MODE_DSI				(1 << 0)
> >  
> > +/* Display Stream Splitter Control */
> > +#define DSS_CTL1				_MMIO(0x67400)
> > +#define  SPLITTER_ENABLE			(1 << 31)
> > +#define  JOINER_ENABLE				(1 << 30)
> > +#define  DUAL_LINK_MODE_INTERLEAVE		(1 << 24)
> > +#define  DUAL_LINK_MODE_FRONTBACK		(0 << 24)
> > +#define  OVERLAP_PIXELS_MASK			(0xf << 16)
> > +#define  OVERLAP_PIXELS(pixels)			((pixels) << 16)
> > +#define  LEFT_DL_BUF_TARGET_DEPTH_MASK		(0xfff << 0)
> > +#define  LEFT_DL_BUF_TARGET_DEPTH(pixels)	((pixels) << 0)
> > +#define  MAX_DL_BUFFER_TARGET_DEPTH		0x5A0
> > +
> > +#define DSS_CTL2				_MMIO(0x67404)
> > +#define  LEFT_BRANCH_VDSC_ENABLE		(1 << 31)
> > +#define  RIGHT_BRANCH_VDSC_ENABLE		(1 << 15)
> > +#define  RIGHT_DL_BUF_TARGET_DEPTH_MASK		(0xfff << 0)
> > +#define  RIGHT_DL_BUF_TARGET_DEPTH(pixels)	((pixels) << 0)
> > +
> > +#define _PIPE_DSS_CTL1_PB			0x78200
> > +#define _PIPE_DSS_CTL1_PC			0x78400

This should have been _ICL_PIPE_DSS_CTL1_PB/PC as per the latest patch

Manasi

> > +#define PIPE_DSS_CTL1(pipe)			_MMIO_PIPE((pipe) - PIPE_B, \
> > +							   _PIPE_DSS_CTL1_PB, \
> > +							   _PIPE_DSS_CTL1_PC)
> > +#define  BIG_JOINER_ENABLE			(1 << 29)
> > +#define  MASTER_BIG_JOINER_ENABLE		(1 << 28)
> > +#define  VGA_CENTERING_ENABLE			(1 << 27)
> > +
> > +#define _PIPE_DSS_CTL2_PB			0x78204
> > +#define _PIPE_DSS_CTL2_PC			0x78404
> > +#define PIPE_DSS_CTL2(pipe)			_MMIO_PIPE((pipe) - PIPE_B, \
> > +							   _PIPE_DSS_CTL2_PB, \
> > +							   _PIPE_DSS_CTL2_PC)
> > +
> >  #define BXT_P_DSI_REGULATOR_CFG			_MMIO(0x160020)
> >  #define  STAP_SELECT					(1 << 0)
> 
> -- 
> Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2018-11-01 18:09 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-30 11:56 [PATCH v8 00/38] drm/i915/icl: dsi enabling Jani Nikula
2018-10-30 11:56 ` [PATCH v8 01/38] drm/i915/icl: Move dsi host init code to common file Jani Nikula
2018-10-30 11:56 ` [PATCH v8 02/38] drm/i915/dsi: move connector mode functions " Jani Nikula
2018-10-31  9:20   ` Madhav Chauhan
2018-10-30 11:56 ` [PATCH v8 03/38] drm/i915/icl: Set max return packet size for DSI panel Jani Nikula
2018-10-31  9:24   ` Madhav Chauhan
2018-10-31  9:40     ` Jani Nikula
2018-10-30 11:56 ` [PATCH v8 04/38] drm/i915/icl: Power on " Jani Nikula
2018-10-31  9:42   ` Jani Nikula
2018-10-30 11:56 ` [PATCH v8 05/38] drm/i915/icl: Wait for header/payload credits release Jani Nikula
2018-10-31 10:06   ` Madhav Chauhan
2018-10-30 11:56 ` [PATCH v8 06/38] drm/i915/icl: Turn ON panel backlight Jani Nikula
2018-10-30 11:56 ` [PATCH v8 07/38] drm/i915/icl: Turn OFF " Jani Nikula
2018-10-30 11:56 ` [PATCH v8 08/38] drm/i915/icl: Disable DSI transcoders Jani Nikula
2018-10-31 10:10   ` Madhav Chauhan
2018-10-30 11:56 ` [PATCH v8 09/38] drm/i915/icl: Power down DSI panel Jani Nikula
2018-10-30 11:56 ` [PATCH v8 10/38] drm/i915/icl: Put DSI link in ULPS Jani Nikula
2018-10-30 11:56 ` [PATCH v8 11/38] drm/i915/icl: Disable DDI function Jani Nikula
2018-10-30 11:56 ` [PATCH v8 12/38] drm/i915/icl: Disable portsync mode Jani Nikula
2018-10-30 11:56 ` [PATCH v8 13/38] drm/i915/icl: Disable DSI ports Jani Nikula
2018-10-30 11:56 ` [PATCH v8 14/38] drm/i915/icl: Disable DSI IO power Jani Nikula
2018-10-30 11:56 ` [PATCH v8 15/38] drm/i915/icl: Define DSI timeout registers Jani Nikula
2018-10-31 10:29   ` Madhav Chauhan
2018-10-30 11:56 ` [PATCH v8 16/38] drm/i915/icl: Program HS_TX_TIMEOUT/LP_RX_TIMEOUT/TA_TIMEOUT registers Jani Nikula
2018-10-31 11:01   ` Madhav Chauhan
2018-10-31 11:18     ` Jani Nikula
2018-10-30 11:56 ` [PATCH v8 17/38] drm/i915/icl: Find DSI presence for ICL Jani Nikula
2018-10-31 11:19   ` Madhav Chauhan
2018-11-01 15:39     ` Jani Nikula
2018-11-01 11:09   ` Jani Nikula
2018-10-30 11:56 ` [PATCH v8 18/38] drm/i915/icl: Allocate DSI encoder/connector Jani Nikula
2018-10-31 11:24   ` Madhav Chauhan
2018-10-30 11:56 ` [PATCH v8 19/38] drm/i915/icl: Allocate hosts for DSI ports Jani Nikula
2018-10-31 11:26   ` Madhav Chauhan
2018-10-30 11:56 ` [PATCH v8 20/38] drm/i915/icl: Add DSI packet payload/header registers Jani Nikula
2018-10-31 11:43   ` Madhav Chauhan
2018-11-01 11:10     ` Jani Nikula
2018-10-30 11:56 ` [PATCH v8 21/38] drm/i915/icl: Fetch DSI pkt to be transferred Jani Nikula
2018-10-31 11:45   ` Madhav Chauhan
2018-10-30 11:56 ` [PATCH v8 22/38] drm/i915/icl: Load DSI packet payload to queue Jani Nikula
2018-10-31 11:51   ` Madhav Chauhan
2018-10-30 11:56 ` [PATCH v8 23/38] drm/i915/icl: Add get config functionality for DSI Jani Nikula
2018-10-30 11:56 ` [PATCH v8 24/38] drm/i915/icl: Get HW state for DSI encoder Jani Nikula
2018-10-31 11:57   ` Madhav Chauhan
2018-11-01 14:24   ` Imre Deak
2018-10-30 11:56 ` [PATCH v8 25/38] drm/i915/icl: Add DSI connector functions Jani Nikula
2018-11-01 14:03   ` Madhav Chauhan
2018-10-30 11:56 ` [PATCH v8 26/38] drm/i915/icl: Add DSI connector helper functions Jani Nikula
2018-11-01 14:03   ` Madhav Chauhan
2018-10-30 11:56 ` [PATCH v8 27/38] drm/i915/icl: Add DSI encoder remaining functions Jani Nikula
2018-11-01 14:08   ` Madhav Chauhan
2018-10-30 11:56 ` [PATCH v8 28/38] drm/i915/icl: Fill DSI ports info Jani Nikula
2018-10-30 11:56 ` [PATCH v8 29/38] drm/i915/icl: Add DSS_CTL Registers Jani Nikula
2018-11-01 15:27   ` Jani Nikula
2018-11-01 18:12     ` Manasi Navare [this message]
2018-10-30 11:56 ` [PATCH v8 30/38] drm/i915/icl: Configure DSI Dual link mode Jani Nikula
2018-11-01 14:11   ` Madhav Chauhan
2018-10-30 11:56 ` [PATCH v8 31/38] drm/i915/icl: Define Panel power ctrl register Jani Nikula
2018-10-30 11:56 ` [PATCH v8 32/38] drm/i915/icl: Define missing bitfield for shortplug reg Jani Nikula
2018-10-30 11:56 ` [PATCH v8 33/38] drm/i915/icl: Define display GPIO pins for DSI Jani Nikula
2018-10-30 11:56 ` [PATCH v8 34/38] drm/i915/icl: Add changes to program DSI panel GPIOs Jani Nikula
2018-10-30 14:01   ` Ville Syrjälä
2018-10-30 14:08     ` Jani Nikula
2018-11-01 14:56     ` Madhav Chauhan
2018-10-30 11:56 ` [PATCH v8 35/38] HACK: drm/i915/icl: Configure backlight functions for DSI Jani Nikula
2018-10-30 11:56 ` [PATCH v8 36/38] drm/i915/icl: Don't wait for empty FIFO Jani Nikula
2018-11-01 11:10   ` Jani Nikula
2018-10-30 11:56 ` [PATCH v8 37/38] drm/i915/icl: Consider DSI for getting transcoder state Jani Nikula
2018-10-30 14:04   ` Ville Syrjälä
2018-10-30 11:56 ` [PATCH v8 38/38] drm/i915/icl: Get pipe timings for DSI Jani Nikula
2018-10-30 12:17 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915/icl: dsi enabling (rev3) Patchwork
2018-10-30 12:26 ` ✗ Fi.CI.SPARSE: " Patchwork
2018-10-30 12:51 ` ✗ Fi.CI.BAT: failure " Patchwork
2018-10-30 13:07 ` [PATCH v8 00/38] drm/i915/icl: dsi enabling Jani Nikula
2018-10-30 16:07 ` ✗ Fi.CI.BAT: failure for drm/i915/icl: dsi enabling (rev3) Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181101181226.GG3481@intel.com \
    --to=manasi.d.navare@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=rodrigo.vivi@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.