mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-29 22:20:21 +00:00
chore(deck): Use more aggressive workaround on 64GB eMMC
This commit is contained in:
parent
e0e4c7e22e
commit
d40a22854a
@ -53,9 +53,16 @@ if [[ ":Jupiter:" =~ ":$SYS_ID:" ]]; then
|
||||
NEEDED_KARGS="$NEEDED_KARGS --append=initcall_blacklist=simpledrm_platform_driver_init"
|
||||
fi
|
||||
|
||||
if [[ ! $KARGS =~ "default_ps_max_latency_us" ]] && grep -q '64GB' <<< $(lsblk -o MODEL); then
|
||||
echo "64GB eMMC detected, adding workaround for firmware issue"
|
||||
NEEDED_KARGS="$NEEDED_KARGS --append=nvme_core.default_ps_max_latency_us=5500"
|
||||
if grep -q '64GB' <<< $(lsblk -o MODEL); then
|
||||
if [[ ! $KARGS =~ "default_ps_max_latency_us" ]]; then
|
||||
echo "64GB eMMC detected, adding default_ps_max_latency_us workaround for firmware issue"
|
||||
NEEDED_KARGS="$NEEDED_KARGS --append=nvme_core.default_ps_max_latency_us=0"
|
||||
fi
|
||||
|
||||
if [[ ! $KARGS =~ "pci_aspm" ]]; then
|
||||
echo "64GB eMMC detected, adding pci_aspm workaround for firmware issue"
|
||||
NEEDED_KARGS="$NEEDED_KARGS --append=pci_aspm=performance"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user