提交 aaab22bc 编写于 作者: C Chris Wilson

drm/i915: Skip printing global offsets for per-engine scratch pages

Knowing the offset of the per-engine scratch/HWS page during boot is not
very informative, so remove the DRM_DEBUG.
Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: NTvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180424115236.2022-1-chris@chris-wilson.co.uk
上级 56021f48
...@@ -541,8 +541,6 @@ int intel_engine_create_scratch(struct intel_engine_cs *engine, int size) ...@@ -541,8 +541,6 @@ int intel_engine_create_scratch(struct intel_engine_cs *engine, int size)
goto err_unref; goto err_unref;
engine->scratch = vma; engine->scratch = vma;
DRM_DEBUG_DRIVER("%s pipe control offset: 0x%08x\n",
engine->name, i915_ggtt_offset(vma));
return 0; return 0;
err_unref: err_unref:
...@@ -636,9 +634,6 @@ static int init_status_page(struct intel_engine_cs *engine) ...@@ -636,9 +634,6 @@ static int init_status_page(struct intel_engine_cs *engine)
engine->status_page.vma = vma; engine->status_page.vma = vma;
engine->status_page.ggtt_offset = i915_ggtt_offset(vma); engine->status_page.ggtt_offset = i915_ggtt_offset(vma);
engine->status_page.page_addr = memset(vaddr, 0, PAGE_SIZE); engine->status_page.page_addr = memset(vaddr, 0, PAGE_SIZE);
DRM_DEBUG_DRIVER("%s hws offset: 0x%08x\n",
engine->name, i915_ggtt_offset(vma));
return 0; return 0;
err_unpin: err_unpin:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册