intel_extreme: Improve generation tracing

This commit is contained in:
Alexander von Gluck IV
2015-11-04 17:24:27 -06:00
parent fb255821eb
commit c9117774b2
@@ -287,8 +287,7 @@ intel_extreme_init(intel_info &info)
int fbIndex = 0;
int mmioIndex = 1;
if (info.device_type.InFamily(INTEL_FAMILY_9xx)
| info.device_type.InFamily(INTEL_FAMILY_SER5)) {
if (info.device_type.Generation() >= 4) {
// For some reason Intel saw the need to change the order of the
// mappings with the introduction of the i9xx family
mmioIndex = 0;
@@ -317,6 +316,10 @@ intel_extreme_init(intel_info &info)
return info.registers_area;
}
ERROR("Init Intel generation %" B_PRId32 " GPU %s PCH split.\n",
info.device_type.Generation(),
info.device_type.HasPlatformControlHub() ? "with" : "without");
uint32* blocks = info.shared_info->register_blocks;
blocks[REGISTER_BLOCK(REGS_FLAT)] = 0;