public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: libin.yang@linux.intel.com
To: intel-gfx@lists.freedesktop.org, jani.nikula@linux.intel.com,
	ville.syrjala@linux.intel.com, daniel.vetter@intel.com,
	tiwai@suse.de
Cc: Libin Yang <libin.yang@linux.intel.com>
Subject: [PATCH v4 2/3] drm/i915: set proper N/MCTS on more platforms
Date: Thu, 18 Aug 2016 14:42:27 +0800	[thread overview]
Message-ID: <1471502548-137544-3-git-send-email-libin.yang@linux.intel.com> (raw)
In-Reply-To: <1471502548-137544-1-git-send-email-libin.yang@linux.intel.com>

From: Libin Yang <libin.yang@linux.intel.com>

This patch applies setting proper N/M, N/CTS on more platforms.

Signed-off-by: Libin Yang <libin.yang@linux.intel.com>
---
 drivers/gpu/drm/i915/intel_audio.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_audio.c b/drivers/gpu/drm/i915/intel_audio.c
index a8cec50..da8217c 100644
--- a/drivers/gpu/drm/i915/intel_audio.c
+++ b/drivers/gpu/drm/i915/intel_audio.c
@@ -757,11 +757,7 @@ static int i915_audio_component_sync_audio_rate(struct device *dev,
 	int n;
 	int err = 0;
 
-	/* HSW, BDW, SKL, KBL need this fix */
-	if (!IS_SKYLAKE(dev_priv) &&
-	    !IS_KABYLAKE(dev_priv) &&
-	    !IS_BROADWELL(dev_priv) &&
-	    !IS_HASWELL(dev_priv))
+	if (!HAS_DDI(dev_priv))
 		return 0;
 
 	i915_audio_component_get_power(dev);
-- 
1.9.1

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

  parent reply	other threads:[~2016-08-18  6:46 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-18  6:42 [PATCH v4 0/3] drm/i915: fix some audio support 4K resolution issues libin.yang
2016-08-18  6:42 ` [PATCH v4 1/3] drm/i915: set proper N/M in modeset libin.yang
2016-08-18  6:42 ` libin.yang [this message]
2016-08-18  6:42 ` [PATCH v4 3/3] drm/i915: HDMI audio gets the TMDS clock by crtc_clock libin.yang
2016-08-18  8:29 ` ✗ Ro.CI.BAT: failure for drm/i915: fix some audio support 4K resolution issues Patchwork
2016-08-22  1:15 ` [PATCH v4 0/3] " Yang, Libin
2016-08-24  5:35   ` Yang, Libin
2016-08-24  5:52     ` Daniel Vetter
2016-08-24  6:10       ` Yang, Libin
2016-09-12  3:12     ` Yang, Libin
2016-09-21 18:39       ` Jani Nikula
2016-09-22  5:36         ` Yang, Libin
2016-09-22  5:49           ` Jani Nikula
2016-09-22  7:45             ` Jani Nikula
2016-09-22  7:52               ` Yang, Libin
2016-09-23  5:59               ` Yang, Libin

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=1471502548-137544-3-git-send-email-libin.yang@linux.intel.com \
    --to=libin.yang@linux.intel.com \
    --cc=daniel.vetter@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@linux.intel.com \
    --cc=tiwai@suse.de \
    --cc=ville.syrjala@linux.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