# X11 Configuration for MageDok 7" Display
# Resolution: 1024×600 @ 60Hz
# Output: HDMI via DisplayPort adapter

Section "Monitor"
    Identifier      "MageDok"
    Option          "PreferredMode" "1024x600_60.00"
    Option          "Position" "0 0"
    Option          "Primary" "true"
EndSection

Section "Screen"
    Identifier      "Screen0"
    Monitor         "MageDok"
    DefaultDepth    24
    SubSection "Display"
        Depth       24
        Modes       "1024x600" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Device"
    Identifier      "NVIDIA Tegra"
    Driver          "nvidia"
    BusID           "PCI:0:0:0"
    Option          "RegistryDwords" "EnableBrightnessControl=1"
    Option          "ConnectedMonitor" "HDMI-0"
EndSection

Section "ServerLayout"
    Identifier      "Default"
    Screen          "Screen0"
EndSection
