[Intel-gfx] [PATCH igt 00/10] igt_fb buffer sizes + kms_frontbuffer_tracking

Paulo Zanoni paulo.r.zanoni at intel.com
Fri Nov 13 09:12:41 PST 2015


Hello

I've been carrying some local IGT patches that reduced the size of buffers
created by igt_create_fb() so they would fit the stolen memory, but when I
decided to test the tree without them, I concluded the lack of sane sizes was
even causing test failures. So here's my attempt to fix this. This series alone
should help reducing the number of kms_frontbuffer_tracking failures seen by QA.

The last few patches make the FBC tests a little harder. They are all based on
the feedback I got from the last patches I sent.

Thanks,
Paulo

Paulo Zanoni (10):
  lib/igt_fb: fix fb->size when provided by the user
  lib/igt_fb: fix igt_create_fb_with_bo_size() documentation
  lib/igt_fb: fix open-coded ALIGN()
  lib/igt_fb: also pass the stride to igt_create_fb_with_bo_size()
  kms_frontbuffer_tracking: set our own size for the FBs we create
  kms_frontbuffer_tracking: do page flips using the planes API
  kms_frontbuffer_tracking: move flip_type to struct test_mode
  kms_frontbuffer_tracking: expand badstride and stridechange
  kms_frontbuffer_tracking: assert the stride changes at stridechange()
  kms_frontbuffer_tracking: add tilingchange subtest

 lib/igt_fb.c                     |  31 +++---
 lib/igt_fb.h                     |   3 +-
 tests/kms_flip.c                 |   2 +-
 tests/kms_frontbuffer_tracking.c | 220 ++++++++++++++++++++++++++++++++-------
 4 files changed, 204 insertions(+), 52 deletions(-)

-- 
2.6.2



More information about the Intel-gfx mailing list