Chris Wilson <ch...@chris-wilson.co.uk> writes: > With a broken GPU we expect it to fail during the initial > GPU setup where do a couple of context switches to record the defaults. > This is a task that takes a few milliseconds even on the slowest of > devices, but we may have to wait 60s for hangcheck to give in and > declare the machine inoperable. In this a case where any gpu hang is > unacceptable, both from a timeliness and practical standpoint. > > We can therefore set a timeout on our wait-for-idle that is shorter than > the hangcheck (which may be up to 60s for a declaring a wedged driver) > and so detect the broken GPU much more quickly during driver load (and > so prevent stalling userspace for ages). > > Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> > Cc: Joonas Lahtinen <joonas.lahti...@linux.intel.com> > Cc: Mika Kuoppala <mika.kuopp...@linux.intel.com> > Cc: Tvrtko Ursulin <tvrtko.ursu...@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuopp...@linux.intel.com> _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx