[Intel-gfx] [PATCH] drm/i915/selftests: Log test and subtest names for easier debugging

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Tue Nov 20 17:58:33 UTC 2018


On 20/11/2018 17:33, Chris Wilson wrote:
> Quoting Tvrtko Ursulin (2018-11-20 17:28:39)
>> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>>
>> Since pr_debug is not printed by default, change both test and subtest
>> log messages to pr_info so they are always logged.
> 
> I just use the trace... As when the test fails we say which subtest
> failed, and hopefully include more details in the error message, and
> recent history is in the trace dumped when considered relevant.

Fair. My thinking was simply to leave more breadcrumbs if the machine 
died in the middle of a subtest.

Regards,

Tvrtko



More information about the Intel-gfx mailing list