intel_extreme: extra tracing around overlay memory block init
To help understand the problem in #14276 Change-Id: I334a5cdfa149d335068f2135d13ed729b53fe6ab Reviewed-on: https://review.haiku-os.org/c/haiku/+/1900 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
b8f6e4813d
commit
ce8f386d86
@@ -507,6 +507,10 @@ intel_extreme_init(intel_info &info)
|
|||||||
if (status == B_OK) {
|
if (status == B_OK) {
|
||||||
info.shared_info->overlay_offset = (addr_t)info.overlay_registers
|
info.shared_info->overlay_offset = (addr_t)info.overlay_registers
|
||||||
- info.aperture_base;
|
- info.aperture_base;
|
||||||
|
TRACE("Overlay registers mapped at %" B_PRIxADDR " = %p - %"
|
||||||
|
B_PRIxADDR " (%" B_PRIxPHYSADDR ")\n",
|
||||||
|
info.shared_info->overlay_offset, info.overlay_registers,
|
||||||
|
info.aperture_base, info.shared_info->physical_overlay_registers);
|
||||||
init_overlay_registers(info.overlay_registers);
|
init_overlay_registers(info.overlay_registers);
|
||||||
} else {
|
} else {
|
||||||
ERROR("error: could not allocate overlay memory! %s\n",
|
ERROR("error: could not allocate overlay memory! %s\n",
|
||||||
@@ -514,6 +518,7 @@ intel_extreme_init(intel_info &info)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Allocate hardware status page and the cursor memory
|
// Allocate hardware status page and the cursor memory
|
||||||
|
TRACE("Allocating hardware status page");
|
||||||
|
|
||||||
if (intel_allocate_memory(info, B_PAGE_SIZE, 0, B_APERTURE_NEED_PHYSICAL,
|
if (intel_allocate_memory(info, B_PAGE_SIZE, 0, B_APERTURE_NEED_PHYSICAL,
|
||||||
(addr_t*)info.shared_info->status_page,
|
(addr_t*)info.shared_info->status_page,
|
||||||
|
|||||||
Reference in New Issue
Block a user