mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 05:13:47 +00:00
lib/intel_batchbuffer: igt_ namespace for the buffer structure
Step one to properly namespace the rendercpy/mediafill functions. Als give the buf_height/width helpers a proper igt_ prefix. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -61,7 +61,7 @@ int devid;
|
||||
int fd;
|
||||
|
||||
static void init_buffer(drm_intel_bufmgr *bufmgr,
|
||||
struct scratch_buf *buf,
|
||||
struct igt_buf *buf,
|
||||
uint32_t size)
|
||||
{
|
||||
buf->bo = drm_intel_bo_alloc(bufmgr, "", size, 4096);
|
||||
@@ -93,7 +93,7 @@ static void *work(void *arg)
|
||||
igt_require(context);
|
||||
|
||||
for (i = 0; i < iter; i++) {
|
||||
struct scratch_buf src, dst;
|
||||
struct igt_buf src, dst;
|
||||
|
||||
init_buffer(bufmgr, &src, 4096);
|
||||
init_buffer(bufmgr, &dst, 4096);
|
||||
|
||||
Reference in New Issue
Block a user