mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-08 16:36:14 +00:00
kms_frontbuffer_tracking: fix psr-farfromfence assertions
We're using GTT draws and they disable PSR. This test is mostly for FBC anyway. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
This commit is contained in:
parent
d675cf3ed7
commit
c3fb972ee9
@ -2531,7 +2531,8 @@ static void farfromfence_subtest(const struct test_mode *t)
|
|||||||
for (r = 0; r < pattern->n_rects; r++) {
|
for (r = 0; r < pattern->n_rects; r++) {
|
||||||
draw_rect(pattern, target, t->method, r);
|
draw_rect(pattern, target, t->method, r);
|
||||||
update_wanted_crc(t, &pattern->crcs[t->format][r]);
|
update_wanted_crc(t, &pattern->crcs[t->format][r]);
|
||||||
do_assertions(0);
|
/* GTT draws disable PSR. */
|
||||||
|
do_assertions(ASSERT_PSR_DISABLED);
|
||||||
}
|
}
|
||||||
|
|
||||||
igt_remove_fb(drm.fd, &tall_fb);
|
igt_remove_fb(drm.fd, &tall_fb);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user