From: Jesse Barnes <jbarnes at virtuousgeek.org> Makes debugging new configs easier. Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org> --- drivers/gpu/drm/i915/intel_fb.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_fb.c b/drivers/gpu/drm/i915/intel_fb.c index 12a0c14..5550de7 100644 --- a/drivers/gpu/drm/i915/intel_fb.c +++ b/drivers/gpu/drm/i915/intel_fb.c @@ -307,8 +307,10 @@ void intel_fbdev_init_bios(struct drm_device *dev) continue; if (INTEL_INFO(dev)->gen >= 4) { - if (val & DISPPLANE_TILED) + if (val & DISPPLANE_TILED) { + DRM_DEBUG_KMS("tiled BIOS fb?\n"); continue; /* unexpected! */ + } } switch (val & DISPPLANE_PIXFORMAT_MASK) { @@ -361,6 +363,7 @@ void intel_fbdev_init_bios(struct drm_device *dev) obj = i915_gem_object_create_stolen_for_preallocated (dev, offset, offset, size); if (obj == NULL) { + DRM_DEBUG_KMS("failed to create stolen fb\n"); kfree(ifbdev); continue; } -- 1.7.10