Commit d5cf720f authored by Wambui Karuga's avatar Wambui Karuga Committed by Jani Nikula

drm/i915/lmem: use new struct drm_device based logging macros.

Replace instances of printk based logging macros with the new
struct drm_device logging macros in i915/intel_region_lmem.c.
Signed-off-by: default avatarWambui Karuga <wambui.karugax@gmail.com>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/7f3df2575ab41a052b7beea86ecc5385edf6f6da.1578409433.git.wambui.karugax@gmail.com
parent f8d18d5c
...@@ -125,10 +125,12 @@ intel_setup_fake_lmem(struct drm_i915_private *i915) ...@@ -125,10 +125,12 @@ intel_setup_fake_lmem(struct drm_i915_private *i915)
io_start, io_start,
&intel_region_lmem_ops); &intel_region_lmem_ops);
if (!IS_ERR(mem)) { if (!IS_ERR(mem)) {
DRM_INFO("Intel graphics fake LMEM: %pR\n", &mem->region); drm_info(&i915->drm, "Intel graphics fake LMEM: %pR\n",
DRM_INFO("Intel graphics fake LMEM IO start: %llx\n", &mem->region);
drm_info(&i915->drm,
"Intel graphics fake LMEM IO start: %llx\n",
(u64)mem->io_start); (u64)mem->io_start);
DRM_INFO("Intel graphics fake LMEM size: %llx\n", drm_info(&i915->drm, "Intel graphics fake LMEM size: %llx\n",
(u64)resource_size(&mem->region)); (u64)resource_size(&mem->region));
} }
......
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