drm/i915/error: 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-11-jani.nikula@intel.com
This commit is contained in:
parent
61d5c507e9
commit
58f44aadd3
|
@ -1858,7 +1858,7 @@ void i915_error_state_store(struct i915_gpu_coredump *error)
|
|||
return;
|
||||
|
||||
i915 = error->i915;
|
||||
dev_info(i915->drm.dev, "%s\n", error_msg(error));
|
||||
drm_info(&i915->drm, "%s\n", error_msg(error));
|
||||
|
||||
if (error->simulated ||
|
||||
cmpxchg(&i915->gpu_error.first_error, NULL, error))
|
||||
|
|
Loading…
Reference in New Issue