diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-22 15:44:48 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-22 15:44:48 +0100 |
commit | 83a4c7d3eb6347f9b743144611b08a2869f11f94 (patch) | |
tree | 45136688d8bc1ff98a5aacf50e68dfb4846a6e3a /tests/gem_ctx_basic.c | |
parent | 82c6dffe9fdc75a7ef3b9a7e53e1c20d8a9b3703 (diff) |
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>
Diffstat (limited to 'tests/gem_ctx_basic.c')
-rw-r--r-- | tests/gem_ctx_basic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gem_ctx_basic.c b/tests/gem_ctx_basic.c index 34542511..67d6191e 100644 --- a/tests/gem_ctx_basic.c +++ b/tests/gem_ctx_basic.c @@ -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); |