mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
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: Wambui Karuga <wambui.karugax@gmail.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/7f3df2575ab41a052b7beea86ecc5385edf6f6da.1578409433.git.wambui.karugax@gmail.com
This commit is contained in:
parent
f8d18d5cb2
commit
d5cf720f21
|
|
@ -125,10 +125,12 @@ intel_setup_fake_lmem(struct drm_i915_private *i915)
|
|||
io_start,
|
||||
&intel_region_lmem_ops);
|
||||
if (!IS_ERR(mem)) {
|
||||
DRM_INFO("Intel graphics fake LMEM: %pR\n", &mem->region);
|
||||
DRM_INFO("Intel graphics fake LMEM IO start: %llx\n",
|
||||
(u64)mem->io_start);
|
||||
DRM_INFO("Intel graphics fake LMEM size: %llx\n",
|
||||
drm_info(&i915->drm, "Intel graphics fake LMEM: %pR\n",
|
||||
&mem->region);
|
||||
drm_info(&i915->drm,
|
||||
"Intel graphics fake LMEM IO start: %llx\n",
|
||||
(u64)mem->io_start);
|
||||
drm_info(&i915->drm, "Intel graphics fake LMEM size: %llx\n",
|
||||
(u64)resource_size(&mem->region));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user