# devg-coral.so parameters for tailoring to specific boards and display modes. # # See MB8629x Graphics Controller Specifications for further details. # # Board-specific options: # # vidbase Video Base Address (if PCI card, this value is ignored) # regbase Register Base Address (if PCI card, this value is ignored) # vsize Amount of video memory # irq Interrupt number for InterruptAttach() # mmr Memory I/F Mode Register # setup Setup mode and memory (1 = setmode, 0 = keep current setup) # rsw Register Location Switch (0 - registers at 0x1FC0000, 1 - registers at 0x3FC0000) *CORALP # cge Clock Select for Geometry Engine (166, 133, 100 Mhz) # cot Clock Select for others except geometry engine (133, 100 Mhz) # type chip type (0 - Coral Q, 1 - Coral B, 2 - Coral P, 3 - Coral PA) # dlsize memory size for 1 drawlist (in bytes) # anti global anti-aliasing : 0 = off 1 = on (currently only supports lines) # hw_tl enable hw_acceleration of thick_lines : 0 = off 1 = on # phl main display default layer: 0-5 # dlayers SC0en & SC1en fields for Multi-Display Control register *Coral-PA only # dmode Dual Display mode (0 = single display, 1 = dual parallel mode, 2 = dual multiplexed mode) *Coral-PA only # nobm Set to 1 to disable use of bus-mastering (Coral P/PA only) # iom Initial setting for the IOM (IO Mode) register # lvds_on GPIO (GD) register setting enable LVDS controller # lvds_off GPIO (GD) register setting disable LVDS controller # logsw3d Report 3D software fallback events to the system logger (warning: very verbose, diagnostic only): 0 = off 1 = on # # Note on the logsw3d option: # The information captured to the system logger contains a "reason" bitmask, # which specifies the rendering feature which could not be accelerated. The # bits in the bitmask are defined as follows: # # Stencil Test 0x00000001 # Unsupported blend mode 0x00000002 # Unsupported Logical Operation 0x00000004 # Unsupported Texture feature 0x00000008 # Color Mask 0x00000080 # Alpha Test 0x00000100 # Fog 0x00000200 # # The driver will use the first un-commented entry. # Note: these are sample values and may need to be adjusted for your specific board # # Coral-P/Coral PA PCI Reference Card #vsize=0x3fc0000,mmr=0x11d7fa13,setup=1,rsw=1,cge=166,cot=133,type=2,dlsize=2048,anti=0,hw_tl=1,phl=2 # Dual Display: Coral-PA PCI Reference Card plus Fujitsu Dual Display PCI companion card #vsize=0x3fc0000,mmr=0x11d7fa13,setup=1,rsw=1,cge=166,cot=133,type=2,dlsize=2048,anti=0,hw_tl=1,phl=2,dmode=2,dlayers=0xffff # 640x480 60 Hz (Coral-B PCI Reference Card) #vsize=0x3fc0000,mmr=0x014eb813,setup=1,rsw=1,cge=100,cot=100,type=1,dlsize=2048,anti=0,hw_tl=1,phl=2 # Freescale Media5200, DVI output and/or built-in LVDS panel vsize=0x3fc0000,mmr=0x11d7fa73,iom=0x1280,lvds_on=0x00250005,lvds_off=0x00250020 # Mode specific options: modes corresponding to uncommented entries will be # available to applications. # # Note: For dual display mode (dmode != 0), the DCM SC field must be adjusted to double to the clock rate! # # htp Horizontal Total Pixels # hdp Horizontal Display Period # hsp Horizontal Synchronize pulse Position # hsw Horizontal Syncronize pulse Width # vsw Vertical Synchronize pulse Width # vtr Vertical Total Rasters # vsp Vertical Synchronize pulse Position # vdp Vertical Display Period # dcm Display Control Mode register # refresh Refresh rate (in Hz) # 320x240 @ 60Hz #mode:htp=424,hsp=324,hsw=48,hdp=320,vtr=263,vsp=245,vsw=2,vdp=240,dcm=0x1d00,refresh=60 # 400x240 @ 60Hz #mode:htp=530,hsp=470,hsw=50,hdp=400,vtr=263,vsp=241,vsw=2,vdp=240,dcm=0x1700,refresh=60 # 480x240 @ 60Hz #mode:htp=636,hsp=520,hsw=72,hdp=480,vtr=263,vsp=245,vsw=2,vdp=240,dcm=0x1300,refresh=60 # 400x240 visible display area, but with 640x480 @ 60Hz VGA timings mode:htp=800,hsp=656,hsw=96,hdp=400,vtr=525,vsp=490,vsw=2,vdp=240,dcm=0x700,refresh=60 # 640x480 @ 60Hz (VGA) mode:htp=800,hsp=656,hsw=96,hdp=640,vtr=525,vsp=490,vsw=2,vdp=480,dcm=0x700,refresh=60 # 800x600 @ 60Hz mode:htp=1056,hsp=840,hsw=128,hdp=800,vtr=628,vsp=601,vsw=4,vdp=600,dcm=0x400,refresh=60 # 1024x768 @ 60Hz mode:htp=1344,hsp=1048,hsw=136,hdp=1024,vtr=806,vsp=771,vsw=6,vdp=768,dcm=0x200,refresh=60 # 1024x768 @ 70Hz Interlaced #mode:htp=1264,hsp=1032,hsw=176,hdp=1024,vtr=408,vsp=385,vsw=11,vdp=384,dcm=0x403,refresh=60