OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12e87f2
)
drm/i915/audio: set proper N/MCTS on more platforms
author
Libin Yang
<libin.yang@linux.intel.com>
Mon, 10 Oct 2016 15:04:04 +0000
(18:04 +0300)
committer
Jani Nikula
<jani.nikula@intel.com>
Tue, 11 Oct 2016 14:22:16 +0000
(17:22 +0300)
This patch applies setting proper N/M, N/CTS on more platforms.
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Libin Yang <libin.yang@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link:
http://patchwork.freedesktop.org/patch/msgid/073f8aaf302df1b638dd33b0ddf46930bcdfea99.1476111629.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_audio.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_audio.c
b/drivers/gpu/drm/i915/intel_audio.c
index
dcbe6b9
..
8f6cc15
100644
(file)
--- a/
drivers/gpu/drm/i915/intel_audio.c
+++ b/
drivers/gpu/drm/i915/intel_audio.c
@@
-688,11
+688,7
@@
static int i915_audio_component_sync_audio_rate(struct device *kdev, int port,
struct i915_audio_component *acomp = dev_priv->audio_component;
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(kdev);