public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Rodrigo Vivi <rodrigo.vivi@gmail.com>
To: Carlos Santa <carlos.santa@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH v4 06/22] drm/i915: Get rid of HAS_CORE_RING_FREQ
Date: Wed, 7 Sep 2016 15:50:31 -0700	[thread overview]
Message-ID: <20160907225031.GA22980@rdvivi-vienna> (raw)
In-Reply-To: <1471462257-24146-7-git-send-email-carlos.santa@intel.com>



Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

On Wed, Aug 17, 2016 at 12:30:41PM -0700, Carlos Santa wrote:
> No need for HAS_CORE_RING_FREQ as that flag is actually the same as
> .has_llc. Feedback from V. Syrjala.
> 
> Signed-off-by: Carlos Santa <carlos.santa@intel.com>
> ---
>  drivers/gpu/drm/i915/i915_debugfs.c | 2 +-
>  drivers/gpu/drm/i915/i915_drv.h     | 4 ----
>  2 files changed, 1 insertion(+), 5 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
> index 4a0941b..cf4882d 100644
> --- a/drivers/gpu/drm/i915/i915_debugfs.c
> +++ b/drivers/gpu/drm/i915/i915_debugfs.c
> @@ -1812,7 +1812,7 @@ static int i915_ring_freq_table(struct seq_file *m, void *unused)
>  	int gpu_freq, ia_freq;
>  	unsigned int max_gpu_freq, min_gpu_freq;
>  
> -	if (!HAS_CORE_RING_FREQ(dev)) {
> +	if (!HAS_LLC(dev_priv)) {
>  		seq_puts(m, "unsupported on this chipset\n");
>  		return 0;
>  	}
> diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
> index 6f5762e..0e24c88 100644
> --- a/drivers/gpu/drm/i915/i915_drv.h
> +++ b/drivers/gpu/drm/i915/i915_drv.h
> @@ -2801,10 +2801,6 @@ struct drm_i915_cmd_table {
>  #define HAS_RESOURCE_STREAMER(dev) (IS_HASWELL(dev) || \
>  				    INTEL_INFO(dev)->gen >= 8)
>  
> -#define HAS_CORE_RING_FREQ(dev)	(INTEL_INFO(dev)->gen >= 6 && \
> -				 !IS_VALLEYVIEW(dev) && !IS_CHERRYVIEW(dev) && \
> -				 !IS_BROXTON(dev))
> -
>  #define HAS_POOLED_EU(dev)	(INTEL_INFO(dev)->has_pooled_eu)
>  
>  #define INTEL_PCH_DEVICE_ID_MASK		0xff00
> -- 
> 1.9.1
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2016-09-07 22:50 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-17 19:30 [PATCH v4 00/22] drm/i915: Organize most GPU features by platform Carlos Santa
2016-08-17 19:30 ` [PATCH v4 01/22] drm/i915: Move HAS_PSR definition to platform struct definition Carlos Santa
2016-08-17 19:30 ` [PATCH v4 02/22] drm/i915: Remove .is_mobile field from platform struct Carlos Santa
2016-08-17 19:30 ` [PATCH v4 03/22] drm/i915: Introduce GEN6_FEATURES for device info Carlos Santa
2016-08-17 19:30 ` [PATCH v4 04/22] drm/i915: Move HAS_RUNTIME_PM definition to platform Carlos Santa
2016-09-07 22:55   ` Rodrigo Vivi
2016-08-17 19:30 ` [PATCH v4 05/22] drm/i915: Remove runtime PM for SNB Carlos Santa
2016-09-07 22:54   ` Rodrigo Vivi
2016-08-17 19:30 ` [PATCH v4 06/22] drm/i915: Get rid of HAS_CORE_RING_FREQ Carlos Santa
2016-09-07 22:50   ` Rodrigo Vivi [this message]
2016-08-17 19:30 ` [PATCH v4 07/22] drm/i915 Move HAS_CSR definition to platform definition Carlos Santa
2016-08-17 19:30 ` [PATCH v4 08/22] drm/i915: Move HAS_RESOURCE_STREAMER " Carlos Santa
2016-08-17 19:30 ` [PATCH v4 09/22] drm/i915: Move HAS_RC6 " Carlos Santa
2016-08-17 19:30 ` [PATCH v4 10/22] drm/i915: Move HAS_RC6p " Carlos Santa
2016-09-07 22:52   ` Rodrigo Vivi
2016-08-17 19:30 ` [PATCH v4 11/22] drm/i915: Move HAS_DP_MST " Carlos Santa
2016-08-17 19:30 ` [PATCH v4 12/22] drm/i915: Introduce GEN5_FEATURES for device info Carlos Santa
2016-08-17 19:30 ` [PATCH v4 13/22] drm/i915: Move HAS_GMBUS_IRQ definition to platform definition Carlos Santa
2016-08-17 19:30 ` [PATCH v4 14/22] drm/i915: Introduce GEN4_FEATURES for device info Carlos Santa
2016-08-17 19:30 ` [PATCH v4 15/22] drm/i915: Introduce GEN3_FEATURES " Carlos Santa
2016-08-17 19:30 ` [PATCH v4 16/22] drm/i915: Introduce GEN2_FEATURES " Carlos Santa
2016-08-17 19:30 ` [PATCH v4 17/22] drm/i915: Move HAS_HW_CONTEXTS definition to platform Carlos Santa
2016-08-17 19:30 ` [PATCH v4 18/22] drm/i915: Move HAS_LOGICAL_RING_CONTEXTS " Carlos Santa
2016-08-17 19:30 ` [PATCH v4 19/22] drm/i915: Move HAS_L3_DPF definition to platform definition Carlos Santa
2016-08-17 19:30 ` [PATCH v4 20/22] drm/i915: Move HAS_GMCH_DISPLAY definition to platform Carlos Santa
2016-08-17 19:30 ` [PATCH v4 21/22] drm/i915: Make HWS_NEEDS_PHYSICAL the exception Carlos Santa
2016-08-17 19:30 ` [PATCH v4 22/22] drm/i915: Move HAS_GUC definition to platform definition Carlos Santa
2016-08-18  6:22 ` ✗ Ro.CI.BAT: failure for drm/i915: Organize most GPU features by platform (rev4) Patchwork
2016-09-13 16:06 ` [PATCH v4 00/22] drm/i915: Organize most GPU features by platform Rodrigo Vivi

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=20160907225031.GA22980@rdvivi-vienna \
    --to=rodrigo.vivi@gmail.com \
    --cc=carlos.santa@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /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