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:
61d5c50
)
drm/i915/error: prefer struct drm_device based logging
author
Jani Nikula
<jani.nikula@intel.com>
Thu, 2 Apr 2020 11:48:13 +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-11-jani.nikula@intel.com
drivers/gpu/drm/i915/i915_gpu_error.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gpu_error.c
b/drivers/gpu/drm/i915/i915_gpu_error.c
index 2a4cd0ba546459a622536a7bed16ed4b6e014680..424ad975a3608874a0b2867d8951584999f9c3c2 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_gpu_error.c
+++ b/
drivers/gpu/drm/i915/i915_gpu_error.c
@@
-1858,7
+1858,7
@@
void i915_error_state_store(struct i915_gpu_coredump *error)
return;
i915 = error->i915;
- d
ev_info(i915->drm.dev
, "%s\n", error_msg(error));
+ d
rm_info(&i915->drm
, "%s\n", error_msg(error));
if (error->simulated ||
cmpxchg(&i915->gpu_error.first_error, NULL, error))