Commit 95a2e2be authored by Chris Wilson's avatar Chris Wilson

drm/i915: Remove stolen object spam

We don't spam the debug when we create a normal object, nor when we
allocate their pages. Yet we do for stolen objects, and since these are
quite frequently used (at least once per context), the resulting spam
floods the dmesg in CI.
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
parent c4c29d7b
...@@ -517,8 +517,7 @@ i915_pages_create_for_stolen(struct drm_device *dev, ...@@ -517,8 +517,7 @@ i915_pages_create_for_stolen(struct drm_device *dev,
struct sg_table *st; struct sg_table *st;
struct scatterlist *sg; struct scatterlist *sg;
DRM_DEBUG_DRIVER("offset=0x%x, size=%d\n", offset, size); GEM_BUG_ON(offset > ggtt->stolen_size - size);
BUG_ON(offset > ggtt->stolen_size - size);
/* We hide that we have no struct page backing our stolen object /* We hide that we have no struct page backing our stolen object
* by wrapping the contiguous physical allocation with a fake * by wrapping the contiguous physical allocation with a fake
...@@ -618,7 +617,6 @@ i915_gem_object_create_stolen(struct drm_device *dev, u32 size) ...@@ -618,7 +617,6 @@ i915_gem_object_create_stolen(struct drm_device *dev, u32 size)
if (!drm_mm_initialized(&dev_priv->mm.stolen)) if (!drm_mm_initialized(&dev_priv->mm.stolen))
return NULL; return NULL;
DRM_DEBUG_KMS("creating stolen object: size=%x\n", size);
if (size == 0) if (size == 0)
return NULL; return NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment