projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19b5b50
)
drm/i915/stolen: prefer struct drm_device based logging
author
Jani Nikula
<jani.nikula@intel.com>
Thu, 2 Apr 2020 11:48:17 +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-15-jani.nikula@intel.com
drivers/gpu/drm/i915/gem/i915_gem_stolen.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/gem/i915_gem_stolen.c
b/drivers/gpu/drm/i915/gem/i915_gem_stolen.c
index 5557dfa83a7bf9b861f69dd3c618a37c80bedf48..dc250278bd2ca90b62ccd57caffc424d6b33ff2f 100644
(file)
--- a/
drivers/gpu/drm/i915/gem/i915_gem_stolen.c
+++ b/
drivers/gpu/drm/i915/gem/i915_gem_stolen.c
@@
-381,14
+381,14
@@
static int i915_gem_init_stolen(struct drm_i915_private *i915)
mutex_init(&i915->mm.stolen_lock);
if (intel_vgpu_active(i915)) {
- d
ev_notice(i915->drm.dev
,
+ d
rm_notice(&i915->drm
,
"%s, disabling use of stolen memory\n",
"iGVT-g active");
return 0;
}
if (intel_vtd_active() && INTEL_GEN(i915) < 8) {
- d
ev_notice(i915->drm.dev
,
+ d
rm_notice(&i915->drm
,
"%s, disabling use of stolen memory\n",
"DMAR active");
return 0;