smivgx

所属分类:Windows CE
开发工具:Visual C++
文件大小:1639KB
下载次数:131
上传日期:2005-02-18 10:56:06
上 传 者沧海一粟2018
说明:  wince下smi501显示驱动源码
(weights under smi501 display driver source)

文件列表:
smivgx\blt.cpp (61118, 2004-06-21)
smivgx\Build.log (43408, 2005-01-05)
smivgx\Build.wrn (913, 2005-01-05)
smivgx\CaptureRegs.h (5393, 2003-09-23)
smivgx\ci.h (4597, 2003-08-11)
smivgx\Cmdlist.cpp (6619, 2004-02-02)
smivgx\cmdlist.h (9901, 2003-09-23)
smivgx\cmdlist.txt (5861, 2003-08-11)
smivgx\cursor.cpp (19845, 2004-06-02)
smivgx\ddgpeusr.h (1069, 2003-08-11)
smivgx\ddi_vgx.def (480, 2003-08-11)
smivgx\DisplayControllerRegs.h (39062, 2003-08-11)
smivgx\dispperf.h (6410, 2003-08-11)
smivgx\DrawingEngineRegs.h (17085, 2003-08-11)
smivgx\Escape.h (6914, 2003-10-24)
smivgx\GPIORegs.h (17637, 2003-06-04)
smivgx\halcaps.cpp (28282, 2004-01-28)
smivgx\haldd.cpp (10690, 2004-01-29)
smivgx\halsurf.cpp (59029, 2003-11-13)
smivgx\halvpe.cpp (39566, 2003-11-14)
smivgx\hostcfg.BIB (437, 2003-08-11)
smivgx\i2c.cpp (15081, 2003-11-18)
smivgx\i2c.h (1968, 2003-11-13)
smivgx\i2cRegs.h (3917, 2003-10-28)
smivgx\interrupt.cpp (8909, 2004-05-18)
smivgx\interrupt.h (757, 2004-05-18)
smivgx\line.cpp (18926, 2004-05-24)
smivgx\makefile (318, 2003-08-11)
smivgx\misc.cpp (217696, 2004-08-31)
smivgx\mmonemu.cpp (11677, 2004-03-30)
smivgx\mmonemu.h (2177, 2003-08-11)
smivgx\modetbl.cpp (30520, 2004-06-15)
smivgx\modetbl.h (2135, 2003-08-11)
smivgx\obj\ARMV4I\retail\blt.obj (18154, 2005-01-05)
smivgx\obj\ARMV4I\retail\cmdlist.obj (862, 2005-01-05)
smivgx\obj\ARMV4I\retail\cursor.obj (12878, 2005-01-05)
smivgx\obj\ARMV4I\retail\halcaps.obj (8636, 2005-01-05)
smivgx\obj\ARMV4I\retail\haldd.obj (14822, 2005-01-05)
smivgx\obj\ARMV4I\retail\halsurf.obj (29887, 2005-01-05)
smivgx\obj\ARMV4I\retail\halvpe.obj (33878, 2005-01-05)
... ...

Windows CE .NET VoyagerGX driver information ============================================== Introduction ------------ Silicon Motion, Inc. VoyagerGX Driver is architected from the beginning to support variety of features and extension of Windows CE .NET, such as DirectDraw feature, Dynamic Rotation feature, Multimon feature, SMI Multimon Emulation feature (using single VoyagerGX chip to drive two independent displays), WCEfA (Windows CE for Automotive) feature, and more. Setup ----- VoyagerGX driver initial setup information for Windows CE .NET * Copy source codes or binary dll file to "$(_WINCEROOT)\public\common\oak\DRIVERS\DISPLAY\SMIVGX\" Where $(_WINCEROOT) is the installation location of the Windows CE .NET, usually defaulted to C:\WINCE400 * Import VoyagerGX driver feature to Catalog, as follows: - Click on File\Manage Catalog Features. - Remove any older smivgx.cec file from the list, if any. - Click Import and get the smivgx.cec from the directory above. - Click Refresh, if necessary. * Include VoyagerGX driver to the platform, as follows: - Find any Display driver instances on the FeatureView of Platform builder (including older VoyagerGX instances) and remove all of them. - Drag Catalog\Device Driver\SMI VoyagerGX feature to the FeatureView * Change the build settings of VoyagerGX driver, ie. Rotation driver, Non Direct Draw driver, etc., as follows: - Right click on VoyagerGX driver, and select Settings - Select "Custom Build" tab, in Build Step "Feature Build", Change any necessary environment settings (See Environment Settings section for more info). * Change the VoyagerGX Windows CE registry settings - The registry is used to specify the special modes and panels - Click on "Parameters" tab, edit common.reg (or any .reg files, as preferred) - Add the following lines, and specify the registry options (See Registry Settings section): IF BSP_DISPLAY_SMIVGX [HKEY_LOCAL_MACHINE\System\GDI\Drivers] "Display"="ddi_vgx.dll" [HKEY_LOCAL_MACHINE\Drivers\Display\SMIVGX] ; Specify VoyagerGX registry options below here ENDIF * No need to add ddi_vgx.dll module info to .BIB files, it is already included by smivgx.cec * Build the VoyagerGX driver - To build the whole platform, click Build\Build Platform or Build\Rebuild Platform - To rebuild the driver separately, right click on VoyagerGX and select "Build Selected Features" and then click Build\MakeImg Enviroment Settings ------------------- The enviroment settings should be set before building the driver (See Setup section on how to specify them), thus the binary-dll driver is not affected by this settings. If no enviroment settings are set, the DirectDraw-based driver will be built Where options are: * SMI_NOLIB: Turn this flag to 1, if you get "gpe_lib.lib not found" error messages. * SMI_HOST: Turn this flag to 1, the compiler will enable the Host interface mode. See registry settings below to set the base and register physical address for different platforms. * SMI_ACCELENT: Turn this flag to 1, together with SMI_HOST to enable Accelent host platform compiling. * SMI_NODD: When this option is set to 1, the compiler will disable the DirectDraw feature. * SMI_WCEFA: When this option is set to 1, the compiler will enable the WCEfA (Windows CE for Automotive) API feature. * SMI_ROTATION: When this option is set to 1, the compiler will enable the special Dynamic Rotation feature. This option automatically set SMI_NODD to 1. * SMI_MMEMU: When this option is set to 1, the compiler will enable the special SMI MultiMon Emulation using single chip to power two different screens in any resolutions specified in the registry. * SMI_DISPPERF: When this option is set to 1, the compiler will enable the profiling information for the driver. * SMI_UMA: When this option is set to 1, the compiler will enable the UMA support for Vytek platform only. Registry Settings ----------------- Registry Settings determine the mode sets by the driver when it first loads up (See Setup section on how to specify them). * The default registry format is as follows: [HKEY_LOCAL_MACHINE\Drivers\Display\SMIVGX] ; For Screen Size, Panel Size, and Bpp "CxPanel" = dword:{any value in hex, as supported by driver} "CyPanel" = dword:{any value in hex, as supported by driver} "CxScreen" = dword:{any value in hex, as supported by driver} "CyScreen" = dword:{any value in hex, as supported by driver} "CxZoom" = dword:{any value in hex, as supported by driver} "CyZoom" = dword:{any value in hex, as supported by driver} "CursorZoom" = dword:{0, 1} "Bpp" = dword:{8, 10, 20} "RefreshRate" = dword:{any value in hex, as supported by driver} "TestClock" = dword:{any value in hex, as installed on the VGX board} "DisplayType" = dword:{1 = panel, 2 = CRT, 3 = panel + CRT} "SaveRestore" = dword:{0, 1} "SaveSurface" = dword:{0, 1} "PowerMonitor" = dword:{0, 1} ; For Host-based driver "FB_BASE" = dword:{base physical address in hex} "FG_BASE" = dword:{register physical address in hex} ;Hitachi PFM_DS8P "FB_BASE" = dword:10000000 "FG_BASE" = dword:13E00000 ;ACCELENT IDP_PXA250_NET "FB_BASE" = dword:08000000 "FG_BASE" = dword:0BE00000 ;STELLCOM Peacock "FB_BASE" = dword:10000000 "FG_BASE" = dword:13E00000 ; For SMI Special Modes ; For Rotation Feature "Angle" = dword:{0,5A,B4,10E} ; For Multimon support [HKEY_LOCAL_MACHINE\SYSTEM\GDI\MONITORS] "TOTAL MONITORS" = dword:{number of monitors} ; NOTE: Bpp option has to be the same across all monitors (WinCE limitation) [HKEY_LOCAL_MACHINE\Drivers\Display\SMIVGX\MONITOR0] ; Specify Panel settings and refresh rate for first monitor, as necessary [HKEY_LOCAL_MACHINE\Drivers\Display\SMIVGX\MONITOR1] ; Specify Panel settings and refresh rate for second monitor, as necessary [HKEY_LOCAL_MACHINE\Drivers\Display\SMIVGX\MONITOR2] ; Specify Panel settings and refresh rate for third monitor, as necessary [HKEY_LOCAL_MACHINE\Drivers\Display\SMIVGX\MONITOR3] ; Specify Panel settings and refresh rate for fourth monitor, as necessary ; For Hitachi Mono STN 320x240 panel - SP14Q003 "MSTN320x240" = dword:{0, 1} ; For enabling Gamma correction function "Gamma" = dword:{0, 1} ; For special timings of 800x600 TFT panel requested by Plexus "Plexus_800x600TFT" = dword:{0, 1} * The definitions are: - CxPanel, CyPanel: Panel width and height. If not specified, CxPanel and CyPanel will be defaulted to 800x600 - CxScreen, CyScreen: Screen width and height (Display mode resolution). If not specified, CxScreen and CyScreen will be the same as on CxPanel and CyPanel. NOTE1: The difference between Panel and Screen is that CxPanel and CyPanel determine the physical dimension of the panel while CxScreen and CyScreen determine the dimension of the screen desktop. NOTE2: CxScreen & CyScreen less than CxPanel & CyPanel is not supported. NOTE3: Panning is NOT supported for the second monitor in the DualMon feature. - CxZoom, CyZoom: Zoom width and height. If not specified, CxZoom and CyZoom will be disabled. - CursorZoom: Enable or Disable Cursor Zooming in Zoom-In/Zoom-Out mode. If not specified, CursorZooom will be disabled. - Bpp: Number of bits of colors for one pixel. If not specified, Bpp is defaulted to 16-bpp mode. - RefreshRate: Refresh rate / vertical frequency of monitors/panels. If not specified, RefreshRate is defaulted to 60 Hz. - TestClock: The frequency of the test clock installed and used on the board. Do NOT set this setting if internal clock is used! This registry ONLY for SPECIAL cases only! If not specified, TestClock is defaulted to 133Mhz for rev. A chips. - DisplayType: 1 - Enable panel output only 2 - Enable CRT output only 3 - Enable both panel & CRT outputs - SaveRestore: 0 - The driver will not save/restore VGX registers and memory to/from system memory 1 - Otherwise - SaveSurface: Valid only if 'SaveRestore' registry key is 1 0 - The driver will not save/restore all surfaces to/from system memory 1 - Otherwise - PowerMonitor: The driver monitors AC/DC change and 2D activity to determine if voltage and/or clock frequencies need to be reduced or not. Please refer to SMI power management spec for details. 0 - ReduceOn disable 1 - ReduceOn enable - VgxSysIntr: Determines the SYSINTR value to use for Voyager interrupt handling. If the varibale is not specified, the driver will attempt to get the value from OS. - FB_BASE: For Host-based driver only! Specify the physical address of the VGX frame buffer. - FG_BASE: For Host-based driver only! Specify the physical address of the VGX register MMIO. - Angle: Angle of rotation 0(0), 90(0x5A), 180(0xB4), and 270(0x10E), only if Rotation feature is enabled. If not specified, Angle is defaulted to 0. Troubleshooting --------------- Note: Due to internal clock issue on rev.A chips, certain settings (resolutions & refresh rate) may not work and may hang the system.

近期下载者

相关文件


收藏者