~vicamo/+git/ubuntu-kernel:bug-1856642/new-id-06ee-for-cml-pch/unstable

Last commit made on 2019-12-17
Get this branch:
git clone -b bug-1856642/new-id-06ee-for-cml-pch/unstable https://git.launchpad.net/~vicamo/+git/ubuntu-kernel
Only You-Sheng Yang can upload to this branch. If you are You-Sheng Yang please log in for upload directions.

Branch merges

Branch information

Name:
bug-1856642/new-id-06ee-for-cml-pch/unstable
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

12520e5... by You-Sheng Yang

Bug 1856642: Add new PCH ID for the Intel Comet Lake -H variant

0c5cf3d... by Heikki Krogerus <email address hidden>

usb: dwc3: pci: add ID for the Intel Comet Lake -H variant

The original ID that was added for Comet Lake PCH was
actually for the -LP (low power) variant even though the
constant for it said CMLH. Changing that while at it.

Signed-off-by: Heikki Krogerus <email address hidden>
Acked-by: Felipe Balbi <email address hidden>
Cc: stable <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
(cherry picked from commit 3c3caae4cd6e122472efcf64759ff6392fb6bce2)
Signed-off-by: You-Sheng Yang <email address hidden>

9914d24... by Hui Wang

UBUNTU: SAUCE: ALSA: hda/realtek - Line-out jack doesn't work on a Dell AIO

BugLink: https://bugs.launchpad.net/bugs/1855999

After applying the fixup ALC274_FIXUP_DELL_AIO_LINEOUT_VERB, the
Line-out jack works well. And instead of adding a new set of pin
definition in the pin_fixup_tbl, we put a more generic matching entry
in the fallback_pin_fixup_tbl.

Cc: <email address hidden>
Signed-off-by: Hui Wang <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Takashi Iwai <email address hidden>
(cherry picked from commit 5815bdfd7f54739be9abed1301d55f5e74d7ad1f
 git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git)
Signed-off-by: Hui Wang <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>

324b2da... by Thadeu Lima de Souza Cascardo

UBUNTU: SAUCE: selftests: net: tls: remove recv_rcvbuf test

This test only works when [1] is applied, which was rejected.

Basically, the errors are reported and cleared. In this particular case of tls
sockets, following reads will block.

The test case was originally submitted with the rejected patch, but, then, was
included as part of a different patchset, possibly by mistake.

[1] https://<email address hidden>/#t

Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>
Acked-by: Marcelo Henrique Cerri <email address hidden>
Acked-by: Paolo Pisati <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>

5bcc41d... by Dimitri John Ledkov

UBUNTU: [Debian] add python depends to ubuntu-regression-suite

In focal-proposed, bzr is now provided by python3 breezy, and thus
neither /usr/bin/python or /usr/bin/python2 is available, as python2
is not at all installed anymore.

Signed-off-by: Dimitri John Ledkov <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>

1911d15... by AceLan Kao

USUNTU: SAUCE: drm/i915: Force DPCD backlight mode on Dell Precision 4K sku

BugLink: https://bugs.launchpad.net/bugs/1856134

This platform using DPCD aux to control backlight,
so adding the first 3 OUI bytes to the quirk.

Signed-off-by: AceLan Kao <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>

091b0e3... by Lyude Paul <email address hidden>

UBUNTU: SAUCE: drm/i915: Force DPCD backlight mode on X1 Extreme 2nd Gen 4K AMOLED panel

BugLink: https://bugs.launchpad.net/bugs/1856134

Annoyingly, the VBT on the ThinkPad X1 Extreme 2nd Gen indicates that
the system uses plain PWM based backlight controls, when in reality the
only backlight controls that work are the standard VESA eDP DPCD
backlight controls.

Honestly, this makes me wonder how many other systems have these issues
or lie about this in their VBT. Not sure we have any good way of finding
out until panels like this become more common place in the laptop
market. For now, just add a DRM DP quirk to indicate that this panel is
telling the truth and is being a good LCD.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=112376
Signed-off-by: Lyude Paul <email address hidden>
Acked-by: Jani Nikula <email address hidden>
(backported from https://patchwork.freedesktop.org/patch/342166/?series=69914&rev=4)
Signed-off-by: AceLan Kao <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>

aed326b... by Lyude Paul <email address hidden>

UBUNTU: SAUCE: drm/i915: Auto detect DPCD backlight support by default

BugLink: https://bugs.launchpad.net/bugs/1856134

Turns out we actually already have some companies, such as Lenovo,
shipping machines with AMOLED screens that don't allow controlling the
backlight through the usual PWM interface and only allow controlling it
through the standard EDP DPCD interface. One example of one of these
laptops is the X1 Extreme 2nd Generation.

Since we've got systems that need this turned on by default now to have
backlight controls working out of the box, let's start auto-detecting it
for systems by default based on what the VBT tells us. We do this by
changing the default value for the enable_dpcd_backlight module param
from 0 to -1.

Signed-off-by: Lyude Paul <email address hidden>
Reviewed-by: Jani Nikula <email address hidden>
(backported from https://patchwork.freedesktop.org/patch/342165/?series=69914&rev=4)
Signed-off-by: AceLan Kao <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>

ed08eb0... by Lyude Paul <email address hidden>

UBUNTU: SAUCE: drm/i915: Fix DPCD register order in intel_dp_aux_enable_backlight()

BugLink: https://bugs.launchpad.net/bugs/1856134

For eDP panels, it appears it's expected that so long as the panel is in
DPCD control mode that the brightness value is never set to 0. Instead,
if the desired effect is to set the panel's backlight to 0 we're
expected to simply turn off the backlight through the
DP_EDP_DISPLAY_CONTROL_REGISTER.

We already do the latter correctly in intel_dp_aux_disable_backlight().
But, we make the mistake of writing the DPCD registers in the wrong
order when enabling the backlight in intel_dp_aux_enable_backlight()
since we currently enable the backlight through
DP_EDP_DISPLAY_CONTROL_REGISTER before writing the brightness level. On
the X1 Extreme 2nd Generation, this appears to have the potential of
confusing the panel in such a way that further attempts to set the
brightness don't actually change the backlight as expected and leave it
off. Presumably, this happens because the incorrect register writing
order briefly leaves the panel with DPCD mode enabled and a 0 brightness
level set.

So, reverse the order we write the DPCD registers when enabling the
panel backlight so that we write the brightness value first, and enable
the backlight second. This fix appears to be the final bit needed to get
the backlight on the ThinkPad X1 Extreme 2nd Generation's AMOLED screen
working.

Signed-off-by: Lyude Paul <email address hidden>
Reviewed-by: Jani Nikula <email address hidden>
(backported from https://patchwork.freedesktop.org/patch/342164/?series=69914&rev=4)
Signed-off-by: AceLan Kao <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>

d1be18a... by Lyude Paul <email address hidden>

UBUNTU: SAUCE: drm/i915: Assume 100% brightness when not in DPCD control mode

BugLink: https://bugs.launchpad.net/bugs/1856134

Currently we always determine the initial panel brightness level by
simply reading the value from DP_EDP_BACKLIGHT_BRIGHTNESS_MSB/LSB. This
seems wrong though, because if the panel is not currently in DPCD
control mode there's not really any reason why there would be any
brightness value programmed in the first place.

This appears to be the case on the Lenovo ThinkPad X1 Extreme 2nd
Generation, where the default value in these registers is always 0 on
boot despite the fact the panel runs at max brightness by default.
Getting the initial brightness value correct here is important as well,
since the panel on this laptop doesn't behave well if it's ever put into
DPCD control mode while the brightness level is programmed to 0.

So, let's fix this by checking what the current backlight control mode
is before reading the brightness level. If it's in DPCD control mode, we
return the programmed brightness level. Otherwise we assume 100%
brightness and return the highest possible brightness level. This also
prevents us from accidentally programming a brightness level of 0.

This is one of the many fixes that gets backlight controls working on
the ThinkPad X1 Extreme 2nd Generation with optional 4K AMOLED screen.

Signed-off-by: Lyude Paul <email address hidden>
(backported from https://patchwork.freedesktop.org/patch/343592/?series=69914&rev=4)
Signed-off-by: AceLan Kao <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>