drm/i915/ring: convert to new logging macros in gt/intel_ring_submission.c
authorWambui Karuga <wambui.karugax@gmail.com>
Tue, 28 Jan 2020 07:14:36 +0000 (10:14 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 30 Jan 2020 13:51:56 +0000 (15:51 +0200)
Manually convert the remaining instance of the printk based drm logging
macros to the struct drm_device based logging macros in
i915/gt/intel_ring_submission.c

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/20200128071437.9284-8-wambui.karugax@gmail.com
drivers/gpu/drm/i915/gt/intel_ring_submission.c

index 7e2c6ac7d6b0f61bd3272fbe85dcef6eefc9eca0..9aa86ba15ce716192ffcd225ad66bd33b143c25e 100644 (file)
@@ -1663,7 +1663,8 @@ static void gen6_bsd_submit_request(struct i915_request *request)
                                         GEN6_BSD_SLEEP_INDICATOR,
                                         0,
                                         1000, 0, NULL))
-               DRM_ERROR("timed out waiting for the BSD ring to wake up\n");
+               drm_err(&uncore->i915->drm,
+                       "timed out waiting for the BSD ring to wake up\n");
 
        /* Now that the ring is fully powered up, update the tail */
        i9xx_submit_request(request);