All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhenyu Wang <zhenyuw@linux.intel.com>
To: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: daniel.vetter@ffwll.ch, intel-gfx@lists.freedesktop.org,
	Rodrigo Vivi <rodrigo.vivi@intel.com>,
	intel-gvt-dev@lists.freedesktop.org
Subject: Re: [PATCH v4 1/3] drm/i915: make PCH_GMBUS* definitions private to gvt
Date: Tue, 31 Jul 2018 10:45:28 +0800	[thread overview]
Message-ID: <20180731024528.GH22630@zhen-hp.sh.intel.com> (raw)
In-Reply-To: <20180727193647.8639-1-lucas.demarchi@intel.com>


[-- Attachment #1.1: Type: text/plain, Size: 2209 bytes --]

On 2018.07.27 12:36:45 -0700, Lucas De Marchi wrote:
> This is the only place that they are being used - the others use the
> GMBUS* macros that rely on dev_priv being already properly initialized.
>

Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>

thanks!

> Cc: intel-gvt-dev@lists.freedesktop.org
> Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
> Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
> ---
>  drivers/gpu/drm/i915/gvt/reg.h  | 7 +++++++
>  drivers/gpu/drm/i915/i915_reg.h | 7 -------
>  2 files changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/gvt/reg.h b/drivers/gpu/drm/i915/gvt/reg.h
> index d4f7ce6dc1d7..fd5fd25d0a0f 100644
> --- a/drivers/gpu/drm/i915/gvt/reg.h
> +++ b/drivers/gpu/drm/i915/gvt/reg.h
> @@ -77,4 +77,11 @@
>  #define _RING_CTL_BUF_SIZE(ctl) (((ctl) & RB_TAIL_SIZE_MASK) + \
>  		I915_GTT_PAGE_SIZE)
>  
> +#define PCH_GMBUS0	_MMIO(0xc5100)
> +#define PCH_GMBUS1	_MMIO(0xc5104)
> +#define PCH_GMBUS2	_MMIO(0xc5108)
> +#define PCH_GMBUS3	_MMIO(0xc510c)
> +#define PCH_GMBUS4	_MMIO(0xc5110)
> +#define PCH_GMBUS5	_MMIO(0xc5120)
> +
>  #endif
> diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
> index 5530c470f30d..07606677168c 100644
> --- a/drivers/gpu/drm/i915/i915_reg.h
> +++ b/drivers/gpu/drm/i915/i915_reg.h
> @@ -7875,13 +7875,6 @@ enum {
>  #define PCH_GPIOE               _MMIO(0xc5020)
>  #define PCH_GPIOF               _MMIO(0xc5024)
>  
> -#define PCH_GMBUS0		_MMIO(0xc5100)
> -#define PCH_GMBUS1		_MMIO(0xc5104)
> -#define PCH_GMBUS2		_MMIO(0xc5108)
> -#define PCH_GMBUS3		_MMIO(0xc510c)
> -#define PCH_GMBUS4		_MMIO(0xc5110)
> -#define PCH_GMBUS5		_MMIO(0xc5120)
> -
>  #define _PCH_DPLL_A              0xc6014
>  #define _PCH_DPLL_B              0xc6018
>  #define PCH_DPLL(pll) _MMIO((pll) == 0 ? _PCH_DPLL_A : _PCH_DPLL_B)
> -- 
> 2.17.1
> 
> _______________________________________________
> intel-gvt-dev mailing list
> intel-gvt-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2018-07-31  2:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-27 19:36 [PATCH v4 1/3] drm/i915: make PCH_GMBUS* definitions private to gvt Lucas De Marchi
2018-07-27 19:36 ` [PATCH v4 2/3] drm/i915/gvt: use its own define for gpio Lucas De Marchi
2018-07-31  2:46   ` Zhenyu Wang
2018-08-17  9:09   ` Jani Nikula
2018-07-27 19:36 ` [PATCH v4 3/3] drm/i915: remove confusing GPIO vs PCH_GPIO Lucas De Marchi
2018-08-14 17:34   ` Lucas De Marchi
2018-08-16 18:49   ` Rodrigo Vivi
2018-08-16 18:53     ` Rodrigo Vivi
2018-07-27 20:02 ` ✗ Fi.CI.SPARSE: warning for series starting with [v4,1/3] drm/i915: make PCH_GMBUS* definitions private to gvt Patchwork
2018-07-27 20:22 ` ✗ Fi.CI.BAT: failure " Patchwork
2018-07-30 17:58 ` Patchwork
2018-07-31  2:45 ` Zhenyu Wang [this message]
2018-07-31 21:23 ` ✓ Fi.CI.BAT: success " Patchwork
2018-07-31 22:10 ` ✓ Fi.CI.IGT: " 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=20180731024528.GH22630@zhen-hp.sh.intel.com \
    --to=zhenyuw@linux.intel.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-gvt-dev@lists.freedesktop.org \
    --cc=lucas.demarchi@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.