Re: [Intel-gfx] [PATCH igt] igt/kms_frontbuffer_tracking: Wait for PSR to be disabled

2018-03-06 Thread Daniel Vetter
On Tue, Feb 20, 2018 at 04:31:40PM +, Chris Wilson wrote: > Quoting Daniel Vetter (2018-02-20 15:44:38) > > On Tue, Feb 20, 2018 at 02:33:08PM +, Chris Wilson wrote: > > > PSR may not exit instantaneously, so while asserting that PSR is > > > disabled after an action, we may have to wait a

Re: [Intel-gfx] [PATCH igt] igt/kms_frontbuffer_tracking: Wait for PSR to be disabled

2018-02-20 Thread Chris Wilson
Quoting Daniel Vetter (2018-02-20 15:44:38) > On Tue, Feb 20, 2018 at 02:33:08PM +, Chris Wilson wrote: > > PSR may not exit instantaneously, so while asserting that PSR is > > disabled after an action, we may have to wait a short while. Currently > > that wait is waiting for PSR to enabled

Re: [Intel-gfx] [PATCH igt] igt/kms_frontbuffer_tracking: Wait for PSR to be disabled

2018-02-20 Thread Daniel Vetter
On Tue, Feb 20, 2018 at 02:33:08PM +, Chris Wilson wrote: > PSR may not exit instantaneously, so while asserting that PSR is > disabled after an action, we may have to wait a short while. Currently > that wait is waiting for PSR to enabled and expecting to timeout; this > fails when we start

[Intel-gfx] [PATCH igt] igt/kms_frontbuffer_tracking: Wait for PSR to be disabled

2018-02-20 Thread Chris Wilson
PSR may not exit instantaneously, so while asserting that PSR is disabled after an action, we may have to wait a short while. Currently that wait is waiting for PSR to enabled and expecting to timeout; this fails when we start the assertion with PSR already enabled. Fix the wait to wait until PSR