mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 01:46:14 +00:00
tests/gem_tiled_pread_pwrite: kill set-but-unsed warning
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
ad6be1f0c9
commit
1c9cce9c45
@ -191,15 +191,12 @@ main(int argc, char **argv)
|
|||||||
int i, j;
|
int i, j;
|
||||||
uint32_t tiling, swizzle;
|
uint32_t tiling, swizzle;
|
||||||
uint32_t handle, handle_target;
|
uint32_t handle, handle_target;
|
||||||
uint32_t devid;
|
|
||||||
int count;
|
int count;
|
||||||
|
|
||||||
|
|
||||||
fd = drm_open_any();
|
fd = drm_open_any();
|
||||||
count = intel_get_total_ram_mb() * 9 / 10;
|
count = intel_get_total_ram_mb() * 9 / 10;
|
||||||
|
|
||||||
devid = intel_get_drm_devid(fd);
|
|
||||||
|
|
||||||
for (i = 0; i < count/2; i++) {
|
for (i = 0; i < count/2; i++) {
|
||||||
current_tiling_mode = I915_TILING_X;
|
current_tiling_mode = I915_TILING_X;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user