[igt-dev] [PATCH i-g-t] igt/kms_frontbuffer_tracking: Skip tests if FBC was disabled

Chris Wilson chris at chris-wilson.co.uk
Tue Mar 6 09:32:07 UTC 2018


Quoting Marta Lofstedt (2018-03-06 09:24:57)
> If FBC has been disabled in the system due to previous
> malfuction, we would save time on CI if we bail out early.
> 
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105359
> Signed-off-by: Marta Lofstedt <marta.lofstedt at intel.com>

Hmm, FBC starts inactive on a system, so we would need to ensure that we
enabled FBC and did a proper modeset first and wait for FBC to be
enabled first.

Otherwise, it seems very reasonable that in this test we assume that FBC
works before we begin. We should have other tests that check that FBC
works under various different configurations, here we are checking that
the invalidate/flush do their jobs.
-Chris


More information about the igt-dev mailing list