mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-04 02:40:05 +00:00
fix(deck): Restore Simple DRM
fix(deck): Restore Simple DRM
This commit is contained in:
parent
f127260bbf
commit
666d9cb784
@ -7,7 +7,7 @@ BASE_IMAGE_NAME=$(jq -r '."base-image-name"' < $IMAGE_INFO)
|
||||
FEDORA_VERSION=$(jq -r '."fedora-version"' < $IMAGE_INFO)
|
||||
|
||||
# SCRIPT VERSION
|
||||
HWS_VER=13
|
||||
HWS_VER=14
|
||||
HWS_VER_FILE="/etc/bazzite/hws_version"
|
||||
HWS_VER_RAN=$(cat $HWS_VER_FILE)
|
||||
|
||||
@ -76,10 +76,6 @@ echo "Current kargs: $KARGS"
|
||||
if [[ ":Jupiter:" =~ ":$SYS_ID:" ]]; then
|
||||
echo "Checking for needed karg changes (Jupiter)"
|
||||
|
||||
if [[ ! $KARGS =~ "amd_pstate" ]]; then
|
||||
NEEDED_KARGS+=("--append-if-missing=amd_pstate=active")
|
||||
fi
|
||||
|
||||
if [[ ! $KARGS =~ "amd_iommu" ]]; then
|
||||
NEEDED_KARGS+=("--append-if-missing=amd_iommu=off")
|
||||
fi
|
||||
@ -93,8 +89,8 @@ if [[ ":Jupiter:" =~ ":$SYS_ID:" ]]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ! $KARGS =~ "initcall_blacklist" ]]; then
|
||||
NEEDED_KARGS+=("--append-if-missing=initcall_blacklist=simpledrm_platform_driver_init")
|
||||
if [[ $KARGS =~ "simpledrm_platform_driver_init" ]]; then
|
||||
NEEDED_KARGS+=("--delete-if-present=initcall_blacklist=simpledrm_platform_driver_init")
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user