put back some agp related allocation messages
This commit is contained in:
parent
02566dff4a
commit
99793543c0
|
@ -139,6 +139,8 @@ xf86GetAGPInfo(int screenNum)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
memset((char*)&agpinf, 0, sizeof(agpinf));
|
||||
|
||||
if (ioctl(gartFd, AGPIOC_INFO, &agpinf) != 0) {
|
||||
xf86DrvMsg(screenNum, X_ERROR,
|
||||
"xf86GetAGPInfo: AGPIOC_INFO failed (%s)\n",
|
||||
|
@ -154,6 +156,8 @@ xf86GetAGPInfo(int screenNum)
|
|||
info->systemPages = agpinf.pg_system;
|
||||
info->usedPages = agpinf.pg_used;
|
||||
|
||||
xf86DrvMsg(screenNum, X_INFO, "Kernel reported %d total, %d used\n", agpinf.pg_total, agpinf.pg_used);
|
||||
|
||||
return info;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user