Added a bit more debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23999 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -243,6 +243,9 @@ check_capabilities(agp_device_info &deviceInfo, uint32 &command)
|
|||||||
agpStatus = fix_rate_support(agpStatus);
|
agpStatus = fix_rate_support(agpStatus);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TRACE("device %u.%u.%u has AGP capabilities %lx\n", deviceInfo.info.bus,
|
||||||
|
deviceInfo.info.device, deviceInfo.info.function, agpStatus);
|
||||||
|
|
||||||
// block non-supported AGP modes
|
// block non-supported AGP modes
|
||||||
command &= (agpStatus & (AGP_3_MODE | AGP_RATE_MASK))
|
command &= (agpStatus & (AGP_3_MODE | AGP_RATE_MASK))
|
||||||
| ~(AGP_3_MODE | AGP_RATE_MASK);
|
| ~(AGP_3_MODE | AGP_RATE_MASK);
|
||||||
@@ -358,6 +361,8 @@ set_agp_command(agp_device_info &deviceInfo, uint32 command)
|
|||||||
static void
|
static void
|
||||||
set_pci_mode()
|
set_pci_mode()
|
||||||
{
|
{
|
||||||
|
TRACE("set PCI mode on all AGP capable devices.\n");
|
||||||
|
|
||||||
// First program all graphics cards
|
// First program all graphics cards
|
||||||
|
|
||||||
for (uint32 index = 0; index < sDeviceCount; index++) {
|
for (uint32 index = 0; index < sDeviceCount; index++) {
|
||||||
@@ -873,6 +878,7 @@ set_agp_mode(uint32 command)
|
|||||||
}
|
}
|
||||||
|
|
||||||
command = fix_rate_command(command);
|
command = fix_rate_command(command);
|
||||||
|
TRACE("set AGP command %lx on all capable devices.\n", command);
|
||||||
|
|
||||||
// The order of programming differs for enabling/disabling AGP mode
|
// The order of programming differs for enabling/disabling AGP mode
|
||||||
// (see AGP specification)
|
// (see AGP specification)
|
||||||
|
|||||||
Reference in New Issue
Block a user