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

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

 



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.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




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