#Section "Device"
#    Identifier  "i.MX Accelerated Framebuffer Device"
#    Driver      "vivante"
#    Option      "fbdev"     "/dev/fb0"
#    Option      "vivante_fbdev" "/dev/fb0"
#    Option      "HWcursor"  "true"
#EndSection

#Section "ServerFlags"
#    Option "BlankTime"  "0"
#    Option "StandbyTime"  "0"
#    Option "SuspendTime"  "0"
#    Option "OffTime"  "0"
#EndSection

Section "Device"
    Identifier  "i.MX Accelerated Framebuffer Device 0"
    Driver      "vivante"                               
    Option      "fbdev"     "/dev/fb0"
    Option      "vivante_fbdev" "/dev/fb0"
    Option      "HWcursor"  "true"
EndSection

Section "Device"
    Identifier  "i.MX Accelerated Framebuffer Device 1"
    Driver      "vivante"
    Option      "fbdev"     "/dev/fb2"
    Option      "vivante_fbdev" "/dev/fb2"
    Option      "HWcursor"  "true"
EndSection

Section "Screen"
    Identifier      "LCD"
    Device          "i.MX Accelerated Framebuffer Device 0"
    Monitor         "Monitor0"
    DefaultDepth           24 #Choose the depth (16||24)
        SubSection             "Display"
                Depth              16
                Modes              "1024x768_60.00" #Choose the resolution
        EndSubSection
    Option      "Primary" "true"
EndSection

Section "Screen"
        Identifier      "HDMI"
        Device          "i.MX Accelerated Framebuffer Device 1"
        Monitor         "Monitor1"
        DefaultDepth           24 #Choose the depth (16||24)
        SubSection             "Display"
                Depth              16
        EndSubSection
        Option      "RightOf" "LCD"
EndSection

#Section "Monitor"
#       Identifier 	"Monitor0"
#	Modeline 	"1024x768_60.00"   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync
#	VendorName 	"LVDS"
#	ModelName 	"CRT-0"
#	Option 		"DPMS"
#       Option     	"Primary" "true"                                                               
#EndSection

#Section "Monitor"
#       Identifier 	"Monitor1"
#	Modeline 	"1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
#	VendorName 	"HDMI"
#	ModelName 	"CRT-1"
#	Option 		"DPMS"	
#       Option     	"RigthOf" "Monitor0"
#EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          0 "LCD"
        Screen          1 "HDMI" RightOf "LCD"
        #InputDevice    "hy462x" "Pointer"
        #InputDevice    "eGalaxTouch" "Pointer"
        Option          "Xinerama" "on"
EndSection

#Section "InputDevice"
#EndSection

Section "ServerFlags"
    Option "BlankTime"  "0"
    Option "StandbyTime"  "0"
    Option "SuspendTime"  "0"
    Option "OffTime"  "0"
EndSection
