mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-30 12:32:37 +00:00
added panel orietation and gttsize kernel args
This commit is contained in:
parent
e6d229169a
commit
5ac38c527e
@ -106,6 +106,17 @@ elif [[ ":WIN2:" =~ ":$SYS_ID:" ]]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ":ONEXPLAYER F1:" =~ ":$SYS_ID:" ]]; then
|
||||
if [[ ! $KARGS =~ "video" ]]; then
|
||||
echo "Adding panel orientation for ONEXPLAYER F1"
|
||||
NEEDED_KARGS+=("--append-if-missing=video=eDP-1:panel_orientation=left_side_up")
|
||||
fi
|
||||
if [[ ! $KARGS =~ "amdgpu.gttsize" ]]; then
|
||||
echo "Adding GTTSize for ONEXPLAYER F1 (32GB RAM)"
|
||||
NEEDED_KARGS+=("--append-if-missing=amdgpu.gttsize=16256")
|
||||
fi
|
||||
fi
|
||||
|
||||
if /usr/libexec/hwsupport/simpledeckytdp-supported-hardware; then
|
||||
if [[ ! $KARGS =~ "iomem" ]]; then
|
||||
echo "Adding needed kargs for ryzenadj"
|
||||
|
Loading…
x
Reference in New Issue
Block a user