From: Jani Nikula <jani.nikula@intel.com>
To: Madhav Chauhan <madhav.chauhan@intel.com>,
intel-gfx@lists.freedesktop.org
Cc: paulo.r.zanoni@intel.com, rodrigo.vivi@intel.com
Subject: Re: [PATCH v4 07/20] drm/i915/icl: Define AUX lane registers for Port A/B
Date: Fri, 06 Jul 2018 12:16:08 +0300 [thread overview]
Message-ID: <87601sohbb.fsf@intel.com> (raw)
In-Reply-To: <1530798591-2077-8-git-send-email-madhav.chauhan@intel.com>
On Thu, 05 Jul 2018, Madhav Chauhan <madhav.chauhan@intel.com> wrote:
> This patch defines AUX lane registers for PORT_PCS_DW1,
> PORT_TX_DW2, PORT_TX_DW4, PORT_TX_DW5 used during
> dsi enabling.
>
> v2: Review comments from Jani N:
> - Define _ICL_PORT_PCS_DW1_AUX_A for consistency
> - Three spaces for bitfield definition.
>
> Signed-off-by: Madhav Chauhan <madhav.chauhan@intel.com>
> Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Pushed up to and including this patch.
BR,
Jani.
> ---
> drivers/gpu/drm/i915/i915_reg.h | 23 +++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
> index cd00350..f84e7ff 100644
> --- a/drivers/gpu/drm/i915/i915_reg.h
> +++ b/drivers/gpu/drm/i915/i915_reg.h
> @@ -1780,16 +1780,22 @@ enum i915_power_well_id {
> _CNL_PORT_PCS_DW1_LN0_D, \
> _CNL_PORT_PCS_DW1_LN0_AE, \
> _CNL_PORT_PCS_DW1_LN0_F))
> +
> #define _ICL_PORT_PCS_DW1_GRP_A 0x162604
> #define _ICL_PORT_PCS_DW1_GRP_B 0x6C604
> #define _ICL_PORT_PCS_DW1_LN0_A 0x162804
> #define _ICL_PORT_PCS_DW1_LN0_B 0x6C804
> +#define _ICL_PORT_PCS_DW1_AUX_A 0x162304
> +#define _ICL_PORT_PCS_DW1_AUX_B 0x6c304
> #define ICL_PORT_PCS_DW1_GRP(port) _MMIO_PORT(port,\
> _ICL_PORT_PCS_DW1_GRP_A, \
> _ICL_PORT_PCS_DW1_GRP_B)
> #define ICL_PORT_PCS_DW1_LN0(port) _MMIO_PORT(port, \
> _ICL_PORT_PCS_DW1_LN0_A, \
> _ICL_PORT_PCS_DW1_LN0_B)
> +#define ICL_PORT_PCS_DW1_AUX(port) _MMIO_PORT(port, \
> + _ICL_PORT_PCS_DW1_AUX_A, \
> + _ICL_PORT_PCS_DW1_AUX_B)
> #define COMMON_KEEPER_EN (1 << 26)
>
> /* CNL Port TX registers */
> @@ -1826,16 +1832,23 @@ enum i915_power_well_id {
> #define _ICL_PORT_TX_DW2_GRP_B 0x6C688
> #define _ICL_PORT_TX_DW2_LN0_A 0x162888
> #define _ICL_PORT_TX_DW2_LN0_B 0x6C888
> +#define _ICL_PORT_TX_DW2_AUX_A 0x162388
> +#define _ICL_PORT_TX_DW2_AUX_B 0x6c388
> #define ICL_PORT_TX_DW2_GRP(port) _MMIO_PORT(port, \
> _ICL_PORT_TX_DW2_GRP_A, \
> _ICL_PORT_TX_DW2_GRP_B)
> #define ICL_PORT_TX_DW2_LN0(port) _MMIO_PORT(port, \
> _ICL_PORT_TX_DW2_LN0_A, \
> _ICL_PORT_TX_DW2_LN0_B)
> +#define ICL_PORT_TX_DW2_AUX(port) _MMIO_PORT(port, \
> + _ICL_PORT_TX_DW2_AUX_A, \
> + _ICL_PORT_TX_DW2_AUX_B)
> #define SWING_SEL_UPPER(x) (((x) >> 3) << 15)
> #define SWING_SEL_UPPER_MASK (1 << 15)
> #define SWING_SEL_LOWER(x) (((x) & 0x7) << 11)
> #define SWING_SEL_LOWER_MASK (0x7 << 11)
> +#define FRC_LATENCY_OPTIM_MASK (0x7 << 8)
> +#define FRC_LATENCY_OPTIM_VAL(x) ((x) << 8)
> #define RCOMP_SCALAR(x) ((x) << 0)
> #define RCOMP_SCALAR_MASK (0xFF << 0)
>
> @@ -1851,6 +1864,8 @@ enum i915_power_well_id {
> #define _ICL_PORT_TX_DW4_LN0_A 0x162890
> #define _ICL_PORT_TX_DW4_LN1_A 0x162990
> #define _ICL_PORT_TX_DW4_LN0_B 0x6C890
> +#define _ICL_PORT_TX_DW4_AUX_A 0x162390
> +#define _ICL_PORT_TX_DW4_AUX_B 0x6c390
> #define ICL_PORT_TX_DW4_GRP(port) _MMIO_PORT(port, \
> _ICL_PORT_TX_DW4_GRP_A, \
> _ICL_PORT_TX_DW4_GRP_B)
> @@ -1859,6 +1874,9 @@ enum i915_power_well_id {
> _ICL_PORT_TX_DW4_LN0_B) + \
> ((ln) * (_ICL_PORT_TX_DW4_LN1_A - \
> _ICL_PORT_TX_DW4_LN0_A)))
> +#define ICL_PORT_TX_DW4_AUX(port) _MMIO_PORT(port, \
> + _ICL_PORT_TX_DW4_AUX_A, \
> + _ICL_PORT_TX_DW4_AUX_B)
> #define LOADGEN_SELECT (1 << 31)
> #define POST_CURSOR_1(x) ((x) << 12)
> #define POST_CURSOR_1_MASK (0x3F << 12)
> @@ -1873,12 +1891,17 @@ enum i915_power_well_id {
> #define _ICL_PORT_TX_DW5_GRP_B 0x6C694
> #define _ICL_PORT_TX_DW5_LN0_A 0x162894
> #define _ICL_PORT_TX_DW5_LN0_B 0x6C894
> +#define _ICL_PORT_TX_DW5_AUX_A 0x162394
> +#define _ICL_PORT_TX_DW5_AUX_B 0x6c394
> #define ICL_PORT_TX_DW5_GRP(port) _MMIO_PORT(port, \
> _ICL_PORT_TX_DW5_GRP_A, \
> _ICL_PORT_TX_DW5_GRP_B)
> #define ICL_PORT_TX_DW5_LN0(port) _MMIO_PORT(port, \
> _ICL_PORT_TX_DW5_LN0_A, \
> _ICL_PORT_TX_DW5_LN0_B)
> +#define ICL_PORT_TX_DW5_AUX(port) _MMIO_PORT(port, \
> + _ICL_PORT_TX_DW5_AUX_A, \
> + _ICL_PORT_TX_DW5_AUX_B)
> #define TX_TRAINING_EN (1 << 31)
> #define TAP2_DISABLE (1 << 30)
> #define TAP3_DISABLE (1 << 29)
--
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2018-07-06 9:16 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-05 13:49 [PATCH v4 00/20] ICELAKE DSI DRIVER Madhav Chauhan
2018-07-05 13:49 ` [PATCH v4 01/20] drm/i915/icl: Define register for DSI PLL Madhav Chauhan
2018-07-05 13:49 ` [PATCH v4 02/20] drm/i915/icl: Program DSI Escape clock Divider Madhav Chauhan
2018-07-05 13:49 ` [PATCH v4 03/20] drm/i915/icl: Define DSI mode ctl register Madhav Chauhan
2018-07-05 13:49 ` [PATCH v4 04/20] drm/i915/icl: Enable DSI IO power Madhav Chauhan
2018-07-05 13:49 ` [PATCH v4 05/20] drm/i915/icl: Define PORT_CL_DW_10 register Madhav Chauhan
2018-07-05 13:49 ` [PATCH v4 06/20] drm/i915/icl: Power down unused DSI lanes Madhav Chauhan
2018-07-05 13:49 ` [PATCH v4 07/20] drm/i915/icl: Define AUX lane registers for Port A/B Madhav Chauhan
2018-07-06 9:16 ` Jani Nikula [this message]
2018-07-05 13:49 ` [PATCH v4 08/20] drm/i915/icl: Configure lane sequencing of combo phy transmitter Madhav Chauhan
2018-07-05 13:49 ` [PATCH v4 09/20] drm/i915/icl: DSI vswing programming sequence Madhav Chauhan
2018-07-05 13:49 ` [PATCH v4 10/20] drm/i915/icl: Enable DDI Buffer Madhav Chauhan
2018-07-05 13:49 ` [PATCH v4 11/20] drm/i915/icl: Define T_INIT_MASTER registers Madhav Chauhan
2018-07-05 13:49 ` [PATCH v4 12/20] drm/i915/icl: Program " Madhav Chauhan
2018-07-05 13:49 ` [PATCH v4 13/20] drm/i915/icl: Define data/clock lanes dphy timing registers Madhav Chauhan
2018-07-05 13:49 ` [PATCH v4 14/20] drm/i915/icl: Program DSI clock and data lane timing params Madhav Chauhan
2018-07-05 13:49 ` [PATCH v4 15/20] drm/i915/icl: Define TA_TIMING_PARAM registers Madhav Chauhan
2018-07-05 13:49 ` [PATCH v4 16/20] drm/i915/icl: Program " Madhav Chauhan
2018-07-05 13:49 ` [PATCH v4 17/20] drm/i915/icl: Get DSI transcoder for a given port Madhav Chauhan
2018-07-05 13:49 ` [PATCH v4 18/20] drm/i915/icl: Add macros for MMIO of DSI transcoder registers Madhav Chauhan
2018-07-05 13:49 ` [PATCH v4 19/20] drm/i915/icl: Define TRANS_DSI_FUNC_CONF register Madhav Chauhan
2018-07-05 13:49 ` [PATCH v4 20/20] drm/i915/icl: Configure DSI transcoders Madhav Chauhan
2018-07-05 14:58 ` ✗ Fi.CI.CHECKPATCH: warning for ICELAKE DSI DRIVER (rev4) Patchwork
2018-07-05 15:05 ` ✗ Fi.CI.SPARSE: " Patchwork
2018-07-05 15:20 ` ✗ Fi.CI.BAT: failure " Patchwork
2018-07-05 20:30 ` ✓ Fi.CI.BAT: success " Patchwork
2018-07-06 8:10 ` Patchwork
2018-07-06 8:14 ` ✗ Fi.CI.IGT: failure " Patchwork
2018-07-06 22:22 ` ✓ Fi.CI.IGT: success " 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=87601sohbb.fsf@intel.com \
--to=jani.nikula@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=madhav.chauhan@intel.com \
--cc=paulo.r.zanoni@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).