Hi, DOK,
I'm reading the DirectFB source code these days, and focus on the
/src/gfxdriers/i810.
Have some questions.
1. Does the i810 DirectFB drivers in the gfxdrivers contains Intel852GM chipset
?
2. I found many debug information in the source code , such as
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
D_DEBUG( "DirectFB/I810: DMA Buffer Performance Monitoring:\n");
D_DEBUG( "DirectFB/I810: %9d DMA buffer size in KB\n",
RINGBUFFER_SIZE/1024 );
D_DEBUG( "DirectFB/I810: %9d i810_wait_for_blit_idle calls\n",
i810dev->idle_calls );
D_DEBUG( "DirectFB/I810: %9d i810_wait_for_space calls\n",
i810dev->waitfifo_calls );
D_DEBUG( "DirectFB/I810: %9d BUFFER transfers (i810_wait_for_space sum)\n",
i810dev->waitfifo_sum );
D_DEBUG( "DirectFB/I810: %9d BUFFER wait cycles (depends on GPU/CPU)\n",
i810dev->fifo_waitcycles );
D_DEBUG( "DirectFB/I810: %9d IDLE wait cycles (depends on GPU/CPU)\n",
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Where can I find the output of these debug informaiton?
How could I use those information to judge whether Graphics Hardward accelerate
work or not?
Best regards,
chiachen
[EMAIL PROTECTED]
2008-06-06
======= 2008-06-02 13:47, your message: Re: help,help, about intel 852/855
overlay=======
chiachen wrote:
> Hi, DOK,
>
> Thank you very much for your reply.
Did you build with intelfb?
The latest 2.6 kernel code includes this:
PCI_DEVICE_ID_INTEL_85XGM
drivers/video/intelfb/intelfbhw.c:
int intelfbhw_get_chipset(struct pci_dev *pdev, struct intelfb_info *dinfo)
{
u32 tmp;
if (!pdev || !dinfo)
return 1;
switch (pdev->device) {
case PCI_DEVICE_ID_INTEL_830M:
dinfo->name = "Intel(R) 830M";
dinfo->chipset = INTEL_830M;
dinfo->mobile = 1;
dinfo->pll_index = PLLS_I8xx;
return 0;
case PCI_DEVICE_ID_INTEL_845G:
dinfo->name = "Intel(R) 845G";
dinfo->chipset = INTEL_845G;
dinfo->mobile = 0;
dinfo->pll_index = PLLS_I8xx;
return 0;
case PCI_DEVICE_ID_INTEL_85XGM:
tmp = 0;
dinfo->mobile = 1;
dinfo->pll_index = PLLS_I8xx;
pci_read_config_dword(pdev, INTEL_85X_CAPID, &tmp);
switch ((tmp >> INTEL_85X_VARIANT_SHIFT) &
INTEL_85X_VARIANT_MASK) {
case INTEL_VAR_855GME:
dinfo->name = "Intel(R) 855GME";
dinfo->chipset = INTEL_855GME;
return 0;
case INTEL_VAR_855GM:
dinfo->name = "Intel(R) 855GM";
dinfo->chipset = INTEL_855GM;
return 0;
case INTEL_VAR_852GME:
dinfo->name = "Intel(R) 852GME";
dinfo->chipset = INTEL_852GME;
return 0;
case INTEL_VAR_852GM:
dinfo->name = "Intel(R) 852GM";
dinfo->chipset = INTEL_852GM;
return 0;
default:
dinfo->name = "Intel(R) 852GM/855GM";
dinfo->chipset = INTEL_85XGM;
return 0;
}
break;
--
Best regards,
Denis Oliver Kropp
..------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
.
= = = = = = = = = = = = = = = = = = = = _______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev