From: Rob Clark
Signed-off-by: Rob Clark
---
This one is a bit f-ugly.. kms_bo_create() and dumb-scanout alloc only
really knows about allocating 4byte/pixel buffers, so we just allocate
oversized buffers and use the part we need. It is functional enough
to test the driver (or at least omapdrm)
From: Rob Clark
Signed-off-by: Rob Clark
---
This one is a bit f-ugly.. kms_bo_create() and dumb-scanout alloc only
really knows about allocating 4byte/pixel buffers, so we just allocate
oversized buffers and use the part we need. It is functional enough
to test the driver (or at least omapdrm)