[PATCH] drm/i915: check ACTHD of all rings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Nov 27, 2011 at 15:58, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:

> Otherwise hangcheck spuriously fires when running blitter/bsd-only
> workloads.
>
> Contrary to a similar patch by Ben Widawsky this does not check
> INSTDONE of the other rings. Chris Wilson implied that in a failure to
> detect a hang, most likely because INSTDONE was fluctuating. Thus only
> check ACTHD, which as far as I know is rather reliable. Also, blitter
> and bsd rings can't launch complex tasks from a single instruction
> (like 3D_PRIM on the render with complex or even infinite shaders).
>
> This fixes spurious gpu hang detection when running
> tests/gem_hangcheck_forcewake on snb/ivb.
>
> Signed-Off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
>

Reviewed-by: Eugeni Dodonov <eugeni.dodonov at intel.com>

-- 
Eugeni Dodonov
<http://eugeni.dodonov.net/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20111128/8d5e1a19/attachment.htm>


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux