intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Defined NM doesn't work on KBL and uses automatic N/M.
@ 2017-05-26  6:07 Quanxian Wang
  2017-05-26  6:27 ` ✓ Fi.CI.BAT: success for " Patchwork
  2017-05-26  8:31 ` [PATCH] " Jani Nikula
  0 siblings, 2 replies; 9+ messages in thread
From: Quanxian Wang @ 2017-05-26  6:07 UTC (permalink / raw)
  To: intel-gfx

According to the bspec, when set N/M, should disable
and enable transcoder which attaching DP audio. However
with that implementation will affect performance more.

But with current implementation, KBL could not work with defined N/M.
By default, KBL will use automatic N/M.

Signed-off-by: Quanxian Wang <quanxian.wang@intel.com>
Reviewed-by: Libin Yang <libin.yang@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/i915/intel_audio.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_audio.c b/drivers/gpu/drm/i915/intel_audio.c
index d805b6e..ba4994e 100644
--- a/drivers/gpu/drm/i915/intel_audio.c
+++ b/drivers/gpu/drm/i915/intel_audio.c
@@ -289,6 +289,10 @@ hsw_dp_audio_config_update(struct intel_crtc *intel_crtc, enum port port,
 	enum pipe pipe = intel_crtc->pipe;
 	u32 tmp;
 
+	/* It doesn't work on KBL and uses automatic N/M. */
+	if (IS_KABYLAKE(dev_priv))
+		nm = NULL;
+
 	if (nm)
 		DRM_DEBUG_KMS("using Maud %u, Naud %u\n", nm->m, nm->n);
 	else
-- 
2.5.0

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

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-12-08  0:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-26  6:07 [PATCH] Defined NM doesn't work on KBL and uses automatic N/M Quanxian Wang
2017-05-26  6:27 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-05-26  8:31 ` [PATCH] " Jani Nikula
2017-05-26  9:52   ` Wang, Quanxian
2017-05-26 11:00     ` Jani Nikula
2017-05-26 21:36       ` Wang, Quanxian
2017-05-29  8:29         ` Jani Nikula
2017-05-31  3:20           ` Wang, Quanxian
2017-12-08  0:41             ` Wang, Quanxian

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).