mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-01 02:32:49 -04:00
drm/i915/state: use struct drm_device based logging
Convert all the DRM_* logging macros to the struct drm_device based macros to provide device specific 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-8-jani.nikula@intel.com
This commit is contained in:
@@ -71,6 +71,7 @@ struct intel_global_state *
|
||||
intel_atomic_get_global_obj_state(struct intel_atomic_state *state,
|
||||
struct intel_global_obj *obj)
|
||||
{
|
||||
struct drm_i915_private *i915 = to_i915(state->base.dev);
|
||||
int index, num_objs, i;
|
||||
size_t size;
|
||||
struct __intel_global_objs_state *arr;
|
||||
@@ -106,8 +107,8 @@ intel_atomic_get_global_obj_state(struct intel_atomic_state *state,
|
||||
|
||||
state->num_global_objs = num_objs;
|
||||
|
||||
DRM_DEBUG_ATOMIC("Added new global object %p state %p to %p\n",
|
||||
obj, obj_state, state);
|
||||
drm_dbg_atomic(&i915->drm, "Added new global object %p state %p to %p\n",
|
||||
obj, obj_state, state);
|
||||
|
||||
return obj_state;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user