[Intel-gfx] [PATCH] drm/i915: Don't ban default context when stop_rings!=0

Mika Kuoppala mika.kuoppala at linux.intel.com
Fri Feb 21 17:13:51 CET 2014


Mika Kuoppala <mika.kuoppala at linux.intel.com> writes:

> ville.syrjala at linux.intel.com writes:
>
>> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>>
>> If we've explicitly stopped the rings for testing purposes, don't ban
>> the default context. Fixes kms_flip hang tests.
>>
>
> To keep logs clean from 'unnecessary' hang messages we set stop_rings also on
> all the gem_reset_stats hanging tests. I think this breaks all the ban
> tests on gem_reset_stats.
>
> So we have dig this nice hole, for avoiding dmesg output on cases
> where dmesg output should be valid and justificed.

I think the correct solution is to have white lists for dmesg output
in piglit test runner, so that we can remove this overloading of
stop_rings.

Injecting proper hang should output a proper log message and this
should be testable.

-Mika



More information about the Intel-gfx mailing list