diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2015-11-05 16:18:55 -0200 |
---|---|---|
committer | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2015-11-27 09:57:35 -0200 |
commit | cb7dd5d401acceb62197eddf3cc6f0860c49faa3 (patch) | |
tree | a01be461ef194f053e9df223f134af9c7c8b0bf8 /lib/igt_fb.c | |
parent | 5cfc4e7967f76cdc92364014c8bf896ab6afa6bc (diff) |
lib/igt_fb: fix igt_create_fb_with_bo_size() documentation
If we pass zero as the bo_size we won't get the minimum needed size,
we'll just get a size that works. The size is decided by
create_bo_for_fb(). The selected size is really not minimal for tiled
objects.
We'll implement support for minimum size later.
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Diffstat (limited to 'lib/igt_fb.c')
-rw-r--r-- | lib/igt_fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_fb.c b/lib/igt_fb.c index c70fb2cf..088bc0dd 100644 --- a/lib/igt_fb.c +++ b/lib/igt_fb.c @@ -400,7 +400,7 @@ void igt_paint_image(cairo_t *cr, const char *filename, * @format: drm fourcc pixel format code * @tiling: tiling layout of the framebuffer (as framebuffer modifier) * @fb: pointer to an #igt_fb structure - * @bo_size: size of the backing bo (0 for minimum needed size) + * @bo_size: size of the backing bo (0 for automatic size) * * This function allocates a gem buffer object suitable to back a framebuffer * with the requested properties and then wraps it up in a drm framebuffer |