We never set the width and height in drv_dumb_bo_create.
We really should do this.
TEST=none
BUG=none
Change-Id: I630866bcf5086fbb3679f772fe0f2857d37f22c2
Reviewed-on: https://chromium-review.googlesource.com/417164
Commit-Ready: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
return ret;
}
+ bo->width = width;
+ bo->height = height;
bo->handles[0].u32 = create_dumb.handle;
bo->offsets[0] = 0;
bo->total_size = bo->sizes[0] = create_dumb.size;