projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1900aba
)
drm/i915/dram: prefer struct drm_device based logging
author
Jani Nikula
<jani.nikula@intel.com>
Thu, 2 Apr 2020 11:48:15 +0000
(14:48 +0300)
committer
Jani Nikula
<jani.nikula@intel.com>
Wed, 8 Apr 2020 10:49:35 +0000
(13:49 +0300)
Prefer struct drm_device based logging over struct device based logging.
No functional changes.
Cc: Wambui Karuga <wambui.karugax@gmail.com>
Reviewed-by: Wambui Karuga <wambui.karugax@gmail.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20200402114819.17232-13-jani.nikula@intel.com
drivers/gpu/drm/i915/intel_dram.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_dram.c
b/drivers/gpu/drm/i915/intel_dram.c
index 6b922efb1d7c68dc22532850e322c83f8cafca07..8aa12cad93ce370682c66760331dea30b481e829 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_dram.c
+++ b/
drivers/gpu/drm/i915/intel_dram.c
@@
-495,6
+495,5
@@
void intel_dram_edram_detect(struct drm_i915_private *i915)
else
i915->edram_size_mb = gen9_edram_size_mb(i915, edram_cap);
- dev_info(i915->drm.dev,
- "Found %uMB of eDRAM\n", i915->edram_size_mb);
+ drm_info(&i915->drm, "Found %uMB of eDRAM\n", i915->edram_size_mb);
}