Skip to content

Commit

Permalink
drm/i915/renderstate: use struct drm_device based logging macros.
Browse files Browse the repository at this point in the history
Replace the use of the printk based drm logging macros with the struct
drm_device based logging macros.

Signed-off-by: Wambui Karuga <wambui.karugax@gmail.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200314183344.17603-5-wambui.karugax@gmail.com
  • Loading branch information
Wambui Karuga authored and Jani Nikula committed Mar 19, 2020
1 parent 1ca6ce9 commit edf040f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/gt/intel_renderstate.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ static int render_state_setup(struct intel_renderstate *so,
}

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;
}

Expand Down

0 comments on commit edf040f

Please sign in to comment.