~sforshee/ubuntu/+source/linux/+git/hirsute:master-next

Last commit made on 2021-03-05
Get this branch:
git clone -b master-next https://git.launchpad.net/~sforshee/ubuntu/+source/linux/+git/hirsute
Only Seth Forshee can upload to this branch. If you are Seth Forshee please log in for upload directions.

Branch merges

Branch information

Name:
master-next
Repository:
lp:~sforshee/ubuntu/+source/linux/+git/hirsute

Recent commits

29735ad... by Lyude Paul <email address hidden>

drm/i915/dp: Program source OUI on eDP panels

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

Since we're about to start adding support for Intel's magic HDR
backlight interface over DPCD, we need to ensure we're properly
programming this field so that Intel specific sink services are exposed.
Otherwise, 0x300-0x3ff will just read zeroes.

We also take care not to reprogram the source OUI if it already matches
what we expect. This is just to be careful so that we don't accidentally
take the panel out of any backlight control modes we found it in.

v2:
* Add careful parameter to intel_edp_init_source_oui() to avoid
  re-writing the source OUI if it's already been set during driver
  initialization

Signed-off-by: Lyude Paul <email address hidden>
Reviewed-by: Rodrigo Vivi <email address hidden>
Cc: <email address hidden>
Cc: Vasily Khoruzhick <email address hidden>
Signed-off-by: Jani Nikula <email address hidden>
Link: https://patchwork<email address hidden>
(cherry picked from commit f12110afee058a2e6e816e315d3291765625cc87)
Signed-off-by: Chia-Lin Kao (AceLan) <email address hidden>
Signed-off-by: Andrea Righi <email address hidden>

3be8b28... by Juerg Haefliger

UBUNTU: [Packaging] Disable udebs if $DEBIAN/d-i doesn't exist

Commit ("UBUNTU: [Packaging] replace custom filter script with dctrl-tools")
introduced the use of grep-dctrl which fails for a kernel that doesn't
build any udebs at all:

$ ./debian/rules clean
<snip>
echo >> debian/control
export KW_DEFCONFIG_DIR=debian.raspi/d-i && \
export KW_CONFIG_DIR=debian.raspi/d-i && \
LANG=C kernel-wedge gen-control 5.11.0-1002 | \
    grep-dctrl -FArchitecture amd64 \
    >><snip>/ubuntu/hirsute/linux-raspi/debian/control
make: *** [debian/rules:229: debian/control] Error 1
Script failed

Because d-i/kernel-versions is empty in this case. With the previous commit
it is now possible to remove the d-i directory tree in kernels that don't
need/want udebs and use that as a global check to set disable_d_i=true.

While at it, add disable_d_i to the list of variables that printenv prints
out.

Signed-off-by: Juerg Haefliger <email address hidden>
Acked-by: Dimitri John Ledkov <email address hidden>
Acked-by: Tim Gardner <email address hidden>
Acked-by: Seth Forshee <email address hidden>
Signed-off-by: Juerg Haefliger <email address hidden>

eab0d86... by Juerg Haefliger

UBUNTU: [Packaging] Skip d-i code if udebs are disabled

There is some d-i specific code scathered around that doesn't need to be
called if udebs are disabled.

Signed-off-by: Juerg Haefliger <email address hidden>
Acked-by: Dimitri John Ledkov <email address hidden>
Acked-by: Tim Gardner <email address hidden>
Acked-by: Seth Forshee <email address hidden>
Signed-off-by: Juerg Haefliger <email address hidden>

0f29ebe... by You-Sheng Yang

UBUNTU: SAUCE: drm/i915: Drop require_force_probe from JSL

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

Signed-off-by: You-Sheng Yang <email address hidden>
Signed-off-by: Andrea Righi <email address hidden>

408e4c9... by Hui Wang

ALSA: hda/hdmi: let new platforms assign the pcm slot dynamically

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

If the platform set the dyn_pcm_assign to true, it will call
hdmi_find_pcm_slot() to find a pcm slot when hdmi/dp monitor is
connected and need to create a pcm.

So far only intel_hsw_common_init() and patch_nvhdmi() set the
dyn_pcm_assign to true, here we let tgl platforms assign the pcm slot
dynamically first, if the driver runs for a period of time and there
is no regression reported, we could set no_fixed_assgin to true in
the intel_hsw_common_init(), and then set it to true in the
patch_nvhdmi().

This change comes from the discussion between Takashi and
Kai Vehmanen. Please refer to:
https://github.com/alsa-project/alsa-lib/pull/118

Suggested-and-reviewed-by: Takashi Iwai <email address hidden>
Suggested-and-reviewed-by: Kai Vehmanen <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 13046370c4d143b629adc1a51659a8a6497fbbe6 linux-next)
Signed-off-by: Hui Wang <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Andrea Righi <email address hidden>
Signed-off-by: Andrea Righi <email address hidden>

a32bdb3... by Guo-Feng Fan <email address hidden>

rtw88: 8821c: support RFE type2 wifi NIC

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

RFE type2 is a new NIC which has one RF antenna shares with BT.
Update phy parameter to verstion V57 to allow initial procedure
to load extra AGC table for sharing antenna NIC.

Signed-off-by: Guo-Feng Fan <email address hidden>
Signed-off-by: Ping-Ke Shih <email address hidden>
Tested-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Kalle Valo <email address hidden>
Link: https://<email address hidden>
(cherry picked from commit 5d6651fe85837b11564a2e2c3c6279c057d078d6)
Signed-off-by: You-Sheng Yang <email address hidden>
Acked-by: Tim Gardner <email address hidden>
Acked-by: Andrea Righi <email address hidden>
Signed-off-by: Andrea Righi <email address hidden>

f59e46c... by Guo-Feng Fan <email address hidden>

rtw88: 8821c: Correct CCK RSSI

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

Incorrect CCK RSSI may cause periodically scan from upper layer.

8821c phy status does NOT has actual value of CCK power. It provides only
lna and vga index. Driver have to use these indexes to calculate
actual RSSI.

Signed-off-by: Guo-Feng Fan <email address hidden>
Signed-off-by: Ping-Ke Shih <email address hidden>
Signed-off-by: Kalle Valo <email address hidden>
Link: https://<email address hidden>
(cherry picked from commit b0d3016f423834177379cc4237964f1162599b5f)
Signed-off-by: You-Sheng Yang <email address hidden>
Acked-by: Tim Gardner <email address hidden>
Acked-by: Andrea Righi <email address hidden>
Signed-off-by: Andrea Righi <email address hidden>

6d242b2... by Guo-Feng Fan <email address hidden>

rtw88: coex: 8821c: correct antenna switch function

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

This patch fixes a defect that uses incorrect function to access
registers. Use 8 and 32 bit access function to access 8 and 32 bit long
data respectively.

Signed-off-by: Guo-Feng Fan <email address hidden>
Signed-off-by: Ping-Ke Shih <email address hidden>
Signed-off-by: Kalle Valo <email address hidden>
Link: https://<email address hidden>
(cherry picked from commit adba838af159914eb98fcd55bfd3a89c9a7d41a8)
Signed-off-by: You-Sheng Yang <email address hidden>
Acked-by: Tim Gardner <email address hidden>
Acked-by: Andrea Righi <email address hidden>
Signed-off-by: Andrea Righi <email address hidden>

851b00e... by Kai-Heng Feng

ALSA: usb-audio: Disable USB autosuspend properly in setup_disable_autosuspend()

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

Rear audio on Lenovo ThinkStation P620 stops working after commit
1965c4364bdd ("ALSA: usb-audio: Disable autosuspend for Lenovo
ThinkStation P620"):
[ 6.013526] usbcore: registered new interface driver snd-usb-audio
[ 6.023064] usb 3-6: cannot get ctl value: req = 0x81, wValue = 0x100, wIndex = 0x0, type = 1
[ 6.023083] usb 3-6: cannot get ctl value: req = 0x81, wValue = 0x202, wIndex = 0x0, type = 4
[ 6.023090] usb 3-6: cannot get ctl value: req = 0x81, wValue = 0x100, wIndex = 0x0, type = 1
[ 6.023098] usb 3-6: cannot get ctl value: req = 0x81, wValue = 0x202, wIndex = 0x0, type = 4
[ 6.023103] usb 3-6: cannot get ctl value: req = 0x81, wValue = 0x100, wIndex = 0x0, type = 1
[ 6.023110] usb 3-6: cannot get ctl value: req = 0x81, wValue = 0x202, wIndex = 0x0, type = 4
[ 6.045846] usb 3-6: cannot get ctl value: req = 0x81, wValue = 0x100, wIndex = 0x0, type = 1
[ 6.045866] usb 3-6: cannot get ctl value: req = 0x81, wValue = 0x202, wIndex = 0x0, type = 4
[ 6.045877] usb 3-6: cannot get ctl value: req = 0x81, wValue = 0x100, wIndex = 0x0, type = 1
[ 6.045886] usb 3-6: cannot get ctl value: req = 0x81, wValue = 0x202, wIndex = 0x0, type = 4
[ 6.045894] usb 3-6: cannot get ctl value: req = 0x81, wValue = 0x100, wIndex = 0x0, type = 1
[ 6.045908] usb 3-6: cannot get ctl value: req = 0x81, wValue = 0x202, wIndex = 0x0, type = 4

I overlooked the issue because when I was working on the said commit,
only the front audio is tested. Apology for that.

Changing supports_autosuspend in driver is too late for disabling
autosuspend, because it was already used by USB probe routine, so it can
break the balance on the following code that depends on
supports_autosuspend.

Fix it by using usb_disable_autosuspend() helper, and balance the
suspend count in disconnect callback.

Fixes: 1965c4364bdd ("ALSA: usb-audio: Disable autosuspend for Lenovo ThinkStation P620")
Signed-off-by: Kai-Heng Feng <email address hidden>
Cc: <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Takashi Iwai <email address hidden>
(cherry picked from commit 9799110825dba087c2bdce886977cf84dada2005 linux-next)
Signed-off-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Andrea Righi <email address hidden>

f488090... by Andrea Righi

UBUNTU: Ubuntu-5.11.0-11.12

Signed-off-by: Andrea Righi <email address hidden>