mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
linux: update to linux-3.12.6
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
1ebafb3d5e
commit
ae306f285f
@ -21,7 +21,7 @@
|
||||
PKG_NAME="linux"
|
||||
case "$LINUX" in
|
||||
*)
|
||||
PKG_VERSION="3.12.5"
|
||||
PKG_VERSION="3.12.6"
|
||||
;;
|
||||
esac
|
||||
PKG_URL="http://www.kernel.org/pub/linux/kernel/v3.x/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
|
@ -1,34 +0,0 @@
|
||||
From f6234120ad06363236598d3a009c6117d66914a4 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= <ville.syrjala@linux.intel.com>
|
||||
Date: Mon, 25 Nov 2013 16:19:30 +0200
|
||||
Subject: [PATCH] drm/i915: Fix pipe CSC post offset calculation
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
We were miscalculating the pipe CSC post offset for the full->limited
|
||||
range conversion. The resulting post offset was double what it was
|
||||
supposed to be, which caused blacks to come out grey when using
|
||||
limited range output on HSW+.
|
||||
|
||||
Cc: stable@vger.kernel.org
|
||||
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
|
||||
---
|
||||
drivers/gpu/drm/i915/intel_display.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
|
||||
index e85d838..4fab496 100644
|
||||
--- a/drivers/gpu/drm/i915/intel_display.c
|
||||
+++ b/drivers/gpu/drm/i915/intel_display.c
|
||||
@@ -5991,7 +5991,7 @@ static void intel_set_pipe_csc(struct drm_crtc *crtc)
|
||||
uint16_t postoff = 0;
|
||||
|
||||
if (intel_crtc->config.limited_color_range)
|
||||
- postoff = (16 * (1 << 13) / 255) & 0x1fff;
|
||||
+ postoff = (16 * (1 << 12) / 255) & 0x1fff;
|
||||
|
||||
I915_WRITE(PIPE_CSC_POSTOFF_HI(pipe), postoff);
|
||||
I915_WRITE(PIPE_CSC_POSTOFF_ME(pipe), postoff);
|
||||
--
|
||||
1.8.3.2
|
@ -1,53 +0,0 @@
|
||||
From aebc8b604fc0c806fe66598e71318b2e9098cf0d Mon Sep 17 00:00:00 2001
|
||||
From: Anssi Hannula <anssi.hannula@iki.fi>
|
||||
Date: Tue, 10 Dec 2013 21:56:07 +0200
|
||||
Subject: [PATCH] ALSA: hda - hdmi: Fix IEC958 ctl indexes for some simple HDMI
|
||||
devices
|
||||
|
||||
In case a single HDA card has both HDMI and S/PDIF outputs, the S/PDIF
|
||||
outputs will have their IEC958 controls created starting from index 16
|
||||
and the HDMI controls will be created starting from index 0.
|
||||
|
||||
However, HDMI simple_playback_build_controls() as used by old VIA and
|
||||
NVIDIA codecs incorrectly requests the IEC958 controls to be created
|
||||
with an S/PDIF type instead of HDMI.
|
||||
In case the card has other codecs that have HDMI outputs, the controls
|
||||
will be created with wrong index=16, causing them to e.g. be unreachable
|
||||
by the ALSA "hdmi" alias.
|
||||
|
||||
Fix that by making simple_playback_build_controls() request controls
|
||||
with HDMI indexes.
|
||||
|
||||
Not many cards have an affected configuration, but e.g. ASUS M3N78-VM
|
||||
contains an integrated NVIDIA HDA "card" with:
|
||||
- a VIA codec that has, among others, an S/PDIF pin incorrectly
|
||||
labelled as an HDMI pin, and
|
||||
- an NVIDIA MCP7x HDMI codec.
|
||||
|
||||
Reported-by: MysterX on #openelec
|
||||
Tested-by: MysterX on #openelec
|
||||
Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
|
||||
Cc: <stable@vger.kernel.org> # 3.8+
|
||||
---
|
||||
sound/pci/hda/patch_hdmi.c | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c
|
||||
index 556d47231f11..f5060fc7c303 100644
|
||||
--- a/sound/pci/hda/patch_hdmi.c
|
||||
+++ b/sound/pci/hda/patch_hdmi.c
|
||||
@@ -2326,8 +2326,9 @@ static int simple_playback_build_controls(struct hda_codec *codec)
|
||||
int err;
|
||||
|
||||
per_cvt = get_cvt(spec, 0);
|
||||
- err = snd_hda_create_spdif_out_ctls(codec, per_cvt->cvt_nid,
|
||||
- per_cvt->cvt_nid);
|
||||
+ err = snd_hda_create_dig_out_ctls(codec, per_cvt->cvt_nid,
|
||||
+ per_cvt->cvt_nid,
|
||||
+ HDA_PCM_TYPE_HDMI);
|
||||
if (err < 0)
|
||||
return err;
|
||||
return simple_hdmi_build_jack(codec, 0);
|
||||
--
|
||||
1.8.1.5
|
||||
|
Loading…
x
Reference in New Issue
Block a user