Skip to content

Commit

Permalink
feat: split xorg config to separate packages
Browse files Browse the repository at this point in the history
Signed-off-by: ZHANG Yuntian <[email protected]>
  • Loading branch information
RadxaYuntian committed Jul 29, 2024
1 parent a9131bc commit fb8dfce
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 8 deletions.
23 changes: 23 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,29 @@ Depends: radxa-system-config-rockchip,
Description: Rockchip system config files
This package provides system config files for Rockchip RK3399 devices.

Package: radxa-system-config-rockchip-glamor
Architecture: all
Priority: optional
Replaces: radxa-system-config-rockchip-xorg,
Conflicts: radxa-system-config-rockchip-xorg,
Provides: radxa-system-config-rockchip-xorg,
Depends: radxa-system-config-rockchip,
${misc:Depends},
Description: Rockchip X.org config files
This package provides system config files for Rockchip X.org glamor
acceleration.

Package: radxa-system-config-rockchip-exa
Architecture: all
Priority: optional
Replaces: radxa-system-config-rockchip-xorg,
Conflicts: radxa-system-config-rockchip-xorg,
Provides: radxa-system-config-rockchip-xorg,
Depends: radxa-system-config-rockchip,
${misc:Depends},
Description: Rockchip X.org config files
This package provides system config files for Rockchip X.org exa acceleration.

Package: radxa-system-config-common
Architecture: all
Priority: optional
Expand Down
1 change: 1 addition & 0 deletions debian/radxa-system-config-rockchip-exa.docs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SOURCE
1 change: 1 addition & 0 deletions debian/radxa-system-config-rockchip-exa.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
radxa-system-config-rockchip-exa/usr /
1 change: 1 addition & 0 deletions debian/radxa-system-config-rockchip-glamor.docs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SOURCE
1 change: 1 addition & 0 deletions debian/radxa-system-config-rockchip-glamor.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
radxa-system-config-rockchip-glamor/usr /
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Section "Device"
Identifier "Rockchip Graphics"
Driver "modesetting"
Option "AccelMethod" "exa"
EndSection
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ Section "Device"
# Option "MaxFlipRate" "60"

Option "NoEDID" "true"
Option "UseGammaLUT" "true"
Option "UseGammaLUT" "true"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Rockchip Graphics"
Monitor "Default Monitor"
Section "Screen"
Identifier "Default Screen"
Device "Rockchip Graphics"
Monitor "Default Monitor"
EndSection

### Valid values for rotation are "normal", "left", "right"
Section "Monitor"
Identifier "Default Monitor"
Option "Rotate" "normal"
Section "Monitor"
Identifier "Default Monitor"
Option "Rotate" "normal"
EndSection

0 comments on commit fb8dfce

Please sign in to comment.