mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-26 09:35:24 +00:00
Merge pull request #1273 from m18h/onexplayer-f1-fixes
feat: kernel arguments for onexplayer f1
This commit is contained in:
commit
9f6f5e143b
@ -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