[PATCH 2/2] modetest: add YUV and multi-planar support

2011-12-14 Thread Rob Clark
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)

[PATCH 2/2] modetest: add YUV and multi-planar support

2011-12-14 Thread Rob Clark
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)