Lines Matching refs:acthd
1331 u32 acthd = I915_READ(ACTHD); in i915_error_first_batchbuffer() local
1337 if (acthd >= obj->gtt_offset && in i915_error_first_batchbuffer()
1338 acthd < obj->gtt_offset + obj->base.size) in i915_error_first_batchbuffer()
1397 error->acthd[ring->id] = intel_ring_get_active_head(ring); in i915_record_ring_state()
1955 u32 acthd = intel_ring_get_active_head(ring) & HEAD_ADDR; in semaphore_passed() local
1967 acthd_min = max((int)acthd - 3 * 4, 0); in semaphore_passed()
1969 cmd = ioread32(ring->virtual_start + acthd); in semaphore_passed()
1973 acthd -= 4; in semaphore_passed()
1974 if (acthd < acthd_min) in semaphore_passed()
1980 ioread32(ring->virtual_start+acthd+4)+1); in semaphore_passed()
2045 uint32_t acthd[I915_NUM_RINGS], instdone[I915_NUM_INSTDONE_REG]; in i915_hangcheck_elapsed() local
2053 memset(acthd, 0, sizeof(acthd)); in i915_hangcheck_elapsed()
2057 acthd[i] = intel_ring_get_active_head(ring); in i915_hangcheck_elapsed()
2074 if (memcmp(dev_priv->gpu_error.last_acthd, acthd, in i915_hangcheck_elapsed()
2075 sizeof(acthd)) == 0 && in i915_hangcheck_elapsed()
2083 memcpy(dev_priv->gpu_error.last_acthd, acthd, in i915_hangcheck_elapsed()
2084 sizeof(acthd)); in i915_hangcheck_elapsed()