Commit edf040f4 authored by Wambui Karuga's avatar Wambui Karuga Committed by Jani Nikula

drm/i915/renderstate: use struct drm_device based logging macros.

Replace the use of the printk based drm logging macros with the struct
drm_device based logging macros.
Signed-off-by: default avatarWambui Karuga <wambui.karugax@gmail.com>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200314183344.17603-5-wambui.karugax@gmail.com
parent 1ca6ce93
...@@ -102,7 +102,7 @@ static int render_state_setup(struct intel_renderstate *so, ...@@ -102,7 +102,7 @@ static int render_state_setup(struct intel_renderstate *so,
} }
if (rodata->reloc[reloc_index] != -1) { if (rodata->reloc[reloc_index] != -1) {
DRM_ERROR("only %d relocs resolved\n", reloc_index); drm_err(&i915->drm, "only %d relocs resolved\n", reloc_index);
goto err; goto err;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment