[PATCH 24/24] HAK: extra info needed
Michel Thierry
michel.thierry at intel.com
Wed Apr 5 14:59:41 UTC 2017
Signed-off-by: Michel Thierry <michel.thierry at intel.com>
---
drivers/gpu/drm/i915/i915_drv.c | 2 ++
drivers/gpu/drm/i915/i915_gem_request.c | 2 ++
drivers/gpu/drm/i915/intel_ringbuffer.c | 2 ++
3 files changed, 6 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 032f08316835..60e90054c5da 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -1946,6 +1946,8 @@ int i915_reset_engine(struct intel_engine_cs *engine)
DRM_ERROR("GuC failed to reset %s, ret=%d\n",
engine->name, ret);
goto error;
+ } else {
+ DRM_INFO("GuC req engine reset ok\n");
}
}
diff --git a/drivers/gpu/drm/i915/i915_gem_request.c b/drivers/gpu/drm/i915/i915_gem_request.c
index 8303c4bef836..b621f3caad78 100644
--- a/drivers/gpu/drm/i915/i915_gem_request.c
+++ b/drivers/gpu/drm/i915/i915_gem_request.c
@@ -295,7 +295,9 @@ static void i915_gem_request_retire(struct drm_i915_gem_request *request)
* Note this requires that we are always called in request
* completion order.
*/
+ DRM_INFO("before list_del\n");
list_del(&request->ring_link);
+ DRM_INFO("after list_del\n");
request->ring->head = request->postfix;
if (!--request->i915->gt.active_requests) {
GEM_BUG_ON(!request->i915->gt.awake);
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c
index c98acc27279a..48647a4fd22c 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
@@ -1624,6 +1624,8 @@ static int wait_for_space(struct drm_i915_gem_request *req, int bytes)
if (timeout < 0)
return timeout;
+ DRM_INFO("wait_for_space, target gs= 0x%x\n",
+ i915_gem_request_global_seqno(target));
i915_gem_request_retire_upto(target);
intel_ring_update_space(ring);
--
2.11.0
More information about the Intel-gfx-trybot
mailing list