Paulo Zanoni d63413771f lib/igt_fb: also pass the stride to igt_create_fb_with_bo_size()
If the caller is going to specify a custom size, it's likely that he
will also specify a custom stride. The automatic stride picked by
create_bo_for_fb() is too huge for tiled buffers, so if the caller
wants smaller buffers, then he'll need a smaller stride too, otherwise
the Kernel will reject the addfb IOCTL due to stride * height being
bigger than the size.

I want to make tests/kms_frontbuffer_tracking use
igt_create_fb_with_bo_size() so I can provide smaller buffers that
will fit into the CFB. I'm also planning to make all frontbuffers with
the same width/height/format have the same stride and size regardless
of tiling method so I can exercise specific code paths.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
2015-11-27 09:57:35 -02:00
..
2014-07-23 16:43:05 +01:00
2014-12-04 10:17:16 +08:00
2015-07-20 18:13:37 +01:00
2013-12-05 15:32:42 -08:00
2014-02-20 13:42:25 +00:00
2011-03-29 22:52:50 +02:00
2015-09-24 14:24:18 +01:00
2015-02-25 16:59:22 +00:00
2015-11-11 14:20:55 +00:00
2015-09-08 16:15:16 +01:00
2015-09-08 16:15:16 +01:00
2015-10-07 17:57:26 +01:00
2015-08-21 14:13:16 +01:00
2015-07-02 08:17:17 +01:00
2015-09-08 16:15:16 +01:00
2015-08-21 14:13:16 +01:00
2015-03-25 17:52:11 +00:00
2015-03-25 17:52:11 +00:00