Revert "fix(deck): Remove Deck TDP control udev rules if deck hardware isn't detected to avoid running into 15W limit from Steam"

This reverts commit 2fa0e15b520b4df4ad303c071cd24e45d8fc9467.
This commit is contained in:
Kyle Gospodnetich 2023-09-04 01:30:19 -07:00
parent 5061faebe9
commit 98df254a67

View File

@ -50,12 +50,8 @@ if [[ ":Jupiter:" =~ ":$SYS_ID:" ]]; then
if [[ ! $KARGS =~ "initcall_blacklist" ]]; then
NEEDED_KARGS="$NEEDED_KARGS --append=initcall_blacklist=simpledrm_platform_driver_init"
fi
elif [[ $IMAGE_NAME =~ "deck" ]]; then
echo "Non-deck hardware detected on deck image, removing TDP controls for Steam to avoid 15W limit."
rm -f /etc/udev/rules.d/30-steamdeck.rules
fi
# NVIDIA KERNEL ARGUMENTS
if [[ $IMAGE_NAME =~ "nvidia" ]]; then
echo "Checking for needed karg changes (Nvidia)"