Re: Display Driver CETK
- From: pandeyraj79@xxxxxxxxx
- Date: Mon, 23 Jul 2007 22:30:15 -0700
On Jul 23, 11:22 pm, "Dean Ramsier" <ramsiernos...@xxxxxxxxxx> wrote:
No, it doesn't expose just one function. There are many functions that can
be exposed by the display driver. The DrvEnableDriver function fills in a
table of pointers to these functions, allowing the upper level APIs to call
them. DrvEnableDriver is the only one called directly, but the rest are
still called through the function pointers.
--
Dean Ramsier - eMVP
BSQUARE Corporation
<pandeyra...@xxxxxxxxx> wrote in message
news:1185203008.831559.298250@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Jul 22, 11:15 am, pandeyra...@xxxxxxxxx wrote:
Hi Dean,
I have one more doubt.When I am testing Direct Draw test.I am getting
this Failed message saying that "Failed to retrieve DirectDraw ApiSet
address (ordinal 2.)" and "Unable to initialize GWES hook object".Can
u tell me whether is it because of any hardware dependencies ?
I am sending the log of this test.
###################################################################
256907 PID:2a7000a TID:2a8000a
256909 PID:2a7000a TID:2a8000a ***
==================================================================
256910 PID:2a7000a TID:2a8000a *** SUITE INFORMATION
256911 PID:2a7000a TID:2a8000a ***
256912 PID:2a7000a TID:2a8000a *** Suite Name: N/A (built on
the fly)
256914 PID:2a7000a TID:2a8000a *** Suite Description: N/A
256915 PID:2a7000a TID:2a8000a *** Number of Tests: 42
256916 PID:2a7000a TID:2a8000a ***
==================================================================
256917 PID:2a7000a TID:2a8000a
256920 PID:2a7000a TID:2a8000a ***
==================================================================
256921 PID:2a7000a TID:2a8000a *** SYSTEM INFORMATION
256922 PID:2a7000a TID:2a8000a ***
256924 PID:2a7000a TID:2a8000a *** Date and Time: 01/01/2006
12:04 PM (Sunday)
256925 PID:2a7000a TID:2a8000a ***
256926 PID:2a7000a TID:2a8000a *** Device Name: OMAP-
E1961655
256928 PID:2a7000a TID:2a8000a ***
PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\DISPLAY_TEST
\DISPLAY_TEST\RELDIR\CLONE_OMAP2430_ARMV4I_DEBUG\DDRAW.DLL'
256929 PID:2a7000a TID:2a8000a *** OS Version: 6.00
256930 PID:2a7000a TID:2a8000a *** Build Number: 1937
256931 PID:2a7000a TID:2a8000a *** Platform ID: 3 "Windows
CE"
256933 PID:2a7000a TID:2a8000a *** Version String: ""
256934 PID:2a7000a TID:2a8000a ***
256935 PID:2a7000a TID:2a8000a *** Processor Type: 0x00000B36
(2,870) "Unknown"
PB Debugger Unloaded symbols for 'C:\WINCE600\OSDESIGNS\DISPLAY_TEST
\DISPLAY_TEST\RELDIR\CLONE_OMAP2430_ARMV4I_DEBUG\DDRAW.DLL'
256937 PID:2a7000a TID:2a8000a *** Processor Architecture: 0x0005
(5) "ARM"
256938 PID:2a7000a TID:2a8000a *** Page Size: 0x00001000
(4,096)
256940 PID:2a7000a TID:2a8000a *** Minimum App Address: 0x00010000
(65,536)
256941 PID:2a7000a TID:2a8000a *** Maximum App Address: 0x7FFFFFFF
(2,147,483,647)
256943 PID:2a7000a TID:2a8000a *** Active Processor Mask: 0x00000001
256944 PID:2a7000a TID:2a8000a *** Number Of Processors: 1
256945 PID:2a7000a TID:2a8000a *** Allocation Granularity: 0x00010000
(65,536)
256947 PID:2a7000a TID:2a8000a *** Processor Level: 0x0004
(4)
256949 PID:2a7000a TID:2a8000a *** Processor Revision: 0x0006
(6)
256951 PID:2a7000a TID:2a8000a ***
==================================================================
256952 PID:2a7000a TID:2a8000a
256953 PID:2a7000a TID:2a8000a ***
==================================================================
256954 PID:2a7000a TID:2a8000a *** MEMORY INFO
256955 PID:2a7000a TID:2a8000a ***
256958 PID:2a7000a TID:2a8000a *** Memory Total: 53,116,928 bytes
256958 PID:2a7000a TID:2a8000a *** Memory Used: 8,781,824 bytes
PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\DISPLAY_TEST
\DISPLAY_TEST\RELDIR\CLONE_OMAP2430_ARMV4I_DEBUG\DDRAW.DLL'
256960 PID:2a7000a TID:2a8000a *** Memory Free: 44,335,104 bytes
256961 PID:2a7000a TID:2a8000a ***
256962 PID:2a7000a TID:2a8000a *** Kernel Used: 323,584 bytes
256963 PID:2a7000a TID:2a8000a *** Water Mark: 10,824 pages
256964 PID:2a7000a TID:2a8000a ***
256966 PID:2a7000a TID:2a8000a *** Store Total: 2,113,536 bytes
256967 PID:2a7000a TID:2a8000a *** Store Used: 864,256 bytes
256969 PID:2a7000a TID:2a8000a *** Store Free: 1,249,280 bytes
256970 PID:2a7000a TID:2a8000a ***
==================================================================
256971 PID:2a7000a TID:2a8000a
256974 PID:2a7000a TID:2a8000a BEGIN GROUP: DDrawTK.DLL
256976 PID:2a7000a TID:2a8000a <TESTCASE ID=100>
PB Debugger Unloaded symbols for 'C:\WINCE600\OSDESIGNS\DISPLAY_TEST
\DISPLAY_TEST\RELDIR\CLONE_OMAP2430_ARMV4I_DEBUG\DDRAW.DLL'
256977 PID:2a7000a TID:2a8000a ***
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
256979 PID:2a7000a TID:2a8000a *** TEST STARTING
256980 PID:2a7000a TID:2a8000a ***
256981 PID:2a7000a TID:2a8000a *** Test Name: Get Caps
256982 PID:2a7000a TID:2a8000a *** Test ID: 100
256983 PID:2a7000a TID:2a8000a *** Library Path: \ddrawtk.dll
256984 PID:2a7000a TID:2a8000a *** Command Line:
257537 PID:2a7000a TID:2a8000a *** Kernel Mode: No
257539 PID:2a7000a TID:2a8000a *** Random Seed: 19775
257540 PID:2a7000a TID:2a8000a *** Thread Count: 1
257541 PID:2a7000a TID:2a8000a ***
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
257542 PID:2a7000a TID:2a8000a BEGIN TEST: "Get Caps"
258157 PID:2a7000a TID:2bf000a Video driver in use is ddi.dll
PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\DISPLAY_TEST
\DISPLAY_TEST\RELDIR\CLONE_OMAP2430_ARMV4I_DEBUG\DDRAW.DLL'
258159 PID:2a7000a TID:2bf000a Using NORMAL Cooperative Level
258164 PID:2a7000a TID:2bf000a Creating Global DirectDraw
Singleton
258166 PID:400002 TID:2bf000a OSAXST1: >>> Loading Module
'ddraw.dll' (0x84060390) at address 0x40BA0000-0x40BBA000 in Process
'NK.EXE' (0x83B35AA0)
258168 PID:2a7000a TID:2bf000a OSAXST1: >>> Loading Module
'ddraw.dll' (0x84060390) at address 0x40BA0000-0x40BBA000 in Process
'tux.exe' (0x83E2D9C4)
258209 PID:2a7000a TID:2bf000a Failed to retrieve DirectDraw ApiSet
address (ordinal 2.)
258210 PID:2a7000a TID:2bf000a Unable to initialize GWES hook object.
DirectDraw is disabled.
PB Debugger Unloaded symbols for 'C:\WINCE600\OSDESIGNS\DISPLAY_TEST
\DISPLAY_TEST\RELDIR\CLONE_OMAP2430_ARMV4I_DEBUG\DDRAW.DLL'
258211 PID:2a7000a TID:2bf000a DirectDraw is disabled. No GWES hook
object! DirectDrawCreate fails.
258213 PID:2a7000a TID:2bf000a ### DirectDrawCreate returned
hr=DDERR_GENERIC (0x80004005) [FILE: Ddrawuty_singletons.cpp LINE:
116]
258215 PID:2a7000a TID:2bf000a OSAXST1: <<< Unloading Module
'ddraw.dll' (0x84060390) at address 0x40BA0000-0x40BBA000 in Process
'tux.exe' (0x83E2D9C4)
258217 PID:2a7000a TID:2bf000a OSAXST1: <<< Unloading Module
'ddraw.dll' (0x84060390) at address 0x40BA0000-0x40BBA000 in Process
'tux.exe' (0x83E2D9C4)
258220 PID:2a7000a TID:2bf000a ### Get global DDraw Object
[FILE: ddtestkit_modes.cpp LINE: 62]
258433 PID:2a7000a TID:2a8000a END TEST: "Get Caps"
258435 PID:2a7000a TID:2a8000a ***
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
258436 PID:2a7000a TID:2a8000a *** TEST COMPLETED
258437 PID:2a7000a TID:2a8000a ***
258438 PID:2a7000a TID:2a8000a *** Test Name: Get Caps
258440 PID:2a7000a TID:2a8000a *** Test ID: 100
258441 PID:2a7000a TID:2a8000a *** Library Path: \ddrawtk.dll
258442 PID:2a7000a TID:2a8000a *** Command Line:
258443 PID:2a7000a TID:2a8000a *** Kernel Mode: No
PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\DISPLAY_TEST
\DISPLAY_TEST\RELDIR\CLONE_OMAP2430_ARMV4I_DEBUG\DDRAW.DLL'
258444 PID:2a7000a TID:2a8000a *** Result: Failed
258446 PID:2a7000a TID:2a8000a *** Random Seed: 19775
258447 PID:2a7000a TID:2a8000a *** Thread Count: 1
258448 PID:2a7000a TID:2a8000a *** Execution Time: 0:00:00.481
258450 PID:2a7000a TID:2a8000a ***
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
258451 PID:2a7000a TID:2a8000a
PB Debugger Unloaded symbols for 'C:\WINCE600\OSDESIGNS\DISPLAY_TEST
\DISPLAY_TEST\RELDIR\CLONE_OMAP2430_ARMV4I_DEBUG\DDRAW.DLL'
258452 PID:2a7000a TID:2a8000a </TESTCASE RESULT="FAILED">
258453 PID:2a7000a TID:2a8000a <TESTCASE ID=101>
258455 PID:2a7000a TID:2a8000a ***
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
258456 PID:2a7000a TID:2a8000a *** TEST STARTING
258457 PID:2a7000a TID:2a8000a ***
258458 PID:2a7000a TID:2a8000a *** Test Name: Enumerate
Display Modes
258459 PID:2a7000a TID:2a8000a *** Test ID: 101
258460 PID:2a7000a TID:2a8000a *** Library Path: \ddrawtk.dll
258461 PID:2a7000a TID:2a8000a *** Command Line:
258462 PID:2a7000a TID:2a8000a *** Kernel Mode: No
258464 PID:2a7000a TID:2a8000a *** Random Seed: 31847
258465 PID:2a7000a TID:2a8000a *** Thread Count: 1
258466 PID:2a7000a TID:2a8000a ***
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\DISPLAY_TEST
\DISPLAY_TEST\RELDIR\CLONE_OMAP2430_ARMV4I_DEBUG\DDRAW.DLL'
258468 PID:2a7000a TID:2a8000a BEGIN TEST: "Enumerate Display
Modes"
259203 PID:2a7000a TID:2cb000a Video driver in use is ddi.dll
259205 PID:2a7000a TID:2cb000a Using NORMAL Cooperative Level
259207 PID:2a7000a TID:2cb000a Creating Global DirectDraw
Singleton
259209 PID:400002 TID:2cb000a OSAXST1: >>> Loading Module
'ddraw.dll' (0x84060390) at address 0x40BA0000-0x40BBA000 in Process
'NK.EXE' (0x83B35AA0)
259211 PID:2a7000a TID:2cb000a OSAXST1: >>> Loading Module
'ddraw.dll' (0x84060390) at address 0x40BA0000-0x40BBA000 in Process
'tux.exe' (0x83E2D9C4)
PB Debugger Unloaded symbols for 'C:\WINCE600\OSDESIGNS\DISPLAY_TEST
\DISPLAY_TEST\RELDIR\CLONE_OMAP2430_ARMV4I_DEBUG\DDRAW.DLL'
259251 PID:2a7000a TID:2cb000a Failed to retrieve DirectDraw ApiSet
address (ordinal 2.)
259251 PID:2a7000a TID:2cb000a Unable to initialize GWES hook object.
DirectDraw is disabled.
259252 PID:2a7000a TID:2cb000a DirectDraw is disabled. No GWES hook
object! DirectDrawCreate fails.
259254 PID:2a7000a TID:2cb000a ### DirectDrawCreate returned
hr=DDERR_GENERIC (0x80004005) [FILE: Ddrawuty_singletons.cpp LINE:
116]
259256 PID:2a7000a TID:2cb000a OSAXST1: <<< Unloading Module
'ddraw.dll' (0x84060390) at address 0x40BA0000-0x40BBA000 in Process ...
read more »
Hi Dean this one is for you.
Can you please tell me how an application is talking to the display
driver.
You know that Display driver is not a stream interface driver so it
does not have any exposed functions like INIT,DENIT,OPEN ,CLOSE.
rather it exposes only one function i.e DrvEnableDriver.
It is pretty complex to under stand how the upper layer(MDD for this
GPE classes) is talking to the lower layer (i.e Hardware).
Can you help me understand this?
Thanks in advance.
Thanks for your reply Dean,
What I meant for DrvEnableDriver was that Like INIT,DEINIT display
driver exposes only one function which in turns return a pointer to an
array of some 27 function pointers.
Now when an application calls a display driver to draw say a POLYGON
with certain parameters how this will be called by upper layer and
ultimately how it is going to be drawn through hardware(communication
b/w DISPC,Framebuffer,LCD) ?
.
- References:
- Display Driver CETK
- From: pandeyraj79
- Re: Display Driver CETK
- From: pandeyraj79
- Re: Display Driver CETK
- From: Dean Ramsier
- Display Driver CETK
- Prev by Date: Re: CE 6.0 and ATI Radeon
- Next by Date: RE: Cloning ceshui
- Previous by thread: Re: Display Driver CETK
- Next by thread: parsing of BT sdp response message in wince 5.0
- Index(es):
Relevant Pages
|