[Intel-gfx] [PATCH igt] lib/kms: Force a full reprobe if we find a bad link

Martin Peres martin.peres at linux.intel.com
Wed Jun 7 11:58:58 UTC 2017


On 07/06/17 14:33, Chris Wilson wrote:
> Quoting Martin Peres (2017-06-07 12:13:24)
>> How about this: When the modeset call fails, check if the link-status is
>> BAD. If not, return a FAIL. If so, force a full re-probe, pick the
>> highest available mode and try again. Do this until a mode applies. If
>> no modes are left, just SKIP the test altogether.
>>
>> Does this sound reasonable?
> 
> The problem here is that we need to loop back to the test for it to
> decide on the next mode. In most cases we don't care, but igt_kms.c
> doesn't know this. But if e.g. we have a CRC computed for one size, it
> needs to be swapped out for the new mode.

Oh dear, isn't life fun?


More information about the Intel-gfx mailing list