interface for the
audio driver to query CDCLK.
This is a stopgap solution until a more generic interface between audio
and display drivers has been implemented.
Signed-off-by: Jani Nikula
Reviewed-by: Damien Lespiau
Signed-off-by: Mengdong Lin
diff --git a/drivers/gpu/drm/i915/intel_pm.c b
From: Jani Nikula
Signed-off-by: Jani Nikula
Signed-off-by: Mengdong Lin
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index a90fdbd..21170e5 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -6256,6 +6256,27 @@ int
From: Mengdong Lin
This patch fixes the reversed CTS/M value index when dumping the
'audio M/CTS programing enable' register.
Signed-off-by: Mengdong Lin
diff --git a/tools/intel_audio_dump.c b/tools/intel_audio_dump.c
index 46eebdb..3ed2918 100644
--- a/tools/intel_audio_dump.c
+
From: Mengdong Lin
A macro IS_HASWELL_PLUS(devid) is defined to cover Haswell and its successors,
for code sharing. Now it covers HSW and BDW.
Signed-off-by: Mengdong Lin
Reviewed-by: Haihao Xiang
diff --git a/tools/intel_audio_dump.c b/tools/intel_audio_dump.c
index faa577e..ffd8288 100644
From: Mengdong Lin
This patch adds support for dumping audio registers of Valleyview,
by reusing Ironlake code with a different base address and pipe number.
Signed-off-by: Mengdong Lin
Reviewed-by: Haihao Xiang
diff --git a/tools/intel_audio_dump.c b/tools/intel_audio_dump.c
index e36bb69
From: Mengdong Lin
Move these enum definitions earlier for future code sharing.
Signed-off-by: Mengdong Lin
Reviewed-by: Haihao Xiang
diff --git a/tools/intel_audio_dump.c b/tools/intel_audio_dump.c
index 47926e4..faa577e 100644
--- a/tools/intel_audio_dump.c
+++ b/tools/intel_audio_dump.c
From: Mengdong Lin
It's for future code sharing because some registers define their bit fields
according to the number of pipes.
Signed-off-by: Mengdong Lin
Reviewed-by: Haihao Xiang
diff --git a/tools/intel_audio_dump.c b/tools/intel_audio_dump.c
index ffd8288..8632ad3 100644
--- a/
From: Mengdong Lin
Signed-off-by: Mengdong Lin
Reviewed-by: Haihao Xiang
diff --git a/tools/intel_audio_dump.c b/tools/intel_audio_dump.c
index e6f6002..e36bb69 100644
--- a/tools/intel_audio_dump.c
+++ b/tools/intel_audio_dump.c
@@ -1344,13 +1344,13 @@ static void dump_aud_config(int index
From: Mengdong Lin
Layout of display and audio registers can be same for different Intel GPUs.
For code sharing, this patches defines functions to
- set the base address of display and audio registers
- dump registers using the base address and an offset
Signed-off-by: Mengdong Lin
Reviewed-by
From: Mengdong Lin
Layout of display and audio registers can be same for different Intel GPUs,
so we want maximum code sharing when adding support for VLV.
This patch set:
- support using base address plus an offset to dump registers
- share common audio dump code for Ironlake, Haswell and
From: Mengdong Lin
This patch defines HD-Audio configuration registers and enables display audio
from HDA controller for Valleyview2.
v2: fix missing offset VLV_DISPLAY_BASE
v3: rename patch from 'enable HDMI audio' to 'enable HDA display audio', since
it's for
From: Mengdong Lin
This patch defines HD-Audio configuration registers and enables display audio
from HDA controller for Valleyview2.
Signed-off-by: Mengdong Lin
Reviewed-by: Jesse Barnes
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 9538502..2a4c33f
From: Mengdong Lin
This patch defines audio configuration registers and adds audio enabling code
for Valleyview2.
Signed-off-by: Mengdong Lin
Reviewed-by: Jesse Barnes
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 9538502..2a4c33f 100644
--- a/drivers
From: Mengdong Lin
This patch defines audio configuration registers and adds audio enabling code
for Valleyview2.
Signed-off-by: Mengdong Lin
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 9538502..04e5a8b 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
apply to both HDMI and DP port.]
Signed-off-by: Mukesh Arora
Signed-off-by: Mengdong Lin
Reviewed-by: Ben Widawsky
diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c
index b042ee5..bda9181 100644
--- a/drivers/gpu/drm/i915/intel_ddi.c
+++ b/drivers/gpu/drm/i915
From: Mengdong Lin
This patch adds a flag "has_audio" for audio presence in intel_crtc->config.
HMDI and DP encoders set this flag in their computer_config() if the external
monitor supports audio. Later audio sequence will check this flag.
Signed-off-by: Mengdong Lin
diff --git
From: Mengdong Lin
The PCH transcoder config register (PCH_TRANS_CONF, 0xf0008) is not the
correct config register for transcoder A, B or C. This register is in
PCH and for CRT display, nothing to do with display audio.
So This patch removes misuse of it as config register for transcoder A/B/C
From: Mengdong Lin
For Haswell, some audio configuration registers have changed their name and
some bit definitions.
This patch applies the changes, and uses subfunctions to parse registers for
code reuse.
Here is the name change list:
Audio configuration: AUD_CONFIG_x to AUD_TCx_CONFIG
Audio
From: Mengdong Lin
Three patches are included, reviewed by Haihao, Xiang.
Mengdong Lin (3):
intel_audio_dump/hsw: remove misuse of PCH transcoder configuration
register
intel_audio_dump/hsw: align code with tab
intel_audio_dump/hsw: rename some audio configuration registers for
apply to both HDMI and DP port.]
Signed-off-by: Mukesh Arora
Signed-off-by: Mengdong Lin
diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c
index b042ee5..2946fe7 100644
--- a/drivers/gpu/drm/i915/intel_ddi.c
+++ b/drivers/gpu/drm/i915/intel_ddi.c
@@ -1088,6
From: Mukesh
The code implements hsw_hdmi_audio_disable func which sets the
relevant registers for disabling the audio codec in a call to
intel_disable_ddi func.This audio codec disbale sequence is
implemented as per the recommendation of the Bspec.
Change-Id: If6eefbfe5ef821db547c759caa9ff5dc18
From: Mengdong Lin
This patch exposes is_haswell() to python, to be used by device auto-detection.
Signed-off-by: Mengdong Lin
diff --git a/tools/quick_dump/chipset.i b/tools/quick_dump/chipset.i
index 69dc8df..4b13487 100644
--- a/tools/quick_dump/chipset.i
+++ b/tools/quick_dump/chipset.i
22 matches
Mail list logo