mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
drm/i915/stolen: prefer struct drm_device based logging
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
This commit is contained in:
parent
19b5b50f34
commit
dd1ba6ba09
1 changed files with 2 additions and 2 deletions
|
@ -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)) {
|
||||
dev_notice(i915->drm.dev,
|
||||
drm_notice(&i915->drm,
|
||||
"%s, disabling use of stolen memory\n",
|
||||
"iGVT-g active");
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (intel_vtd_active() && INTEL_GEN(i915) < 8) {
|
||||
dev_notice(i915->drm.dev,
|
||||
drm_notice(&i915->drm,
|
||||
"%s, disabling use of stolen memory\n",
|
||||
"DMAR active");
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue