mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 01:16:18 +00:00
gem_stress: move option struct out of header
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
9f20ecc3b3
commit
b9fe673f49
@ -73,6 +73,26 @@ int num_fences;
|
||||
|
||||
drm_intel_bo *busy_bo;
|
||||
|
||||
struct option_struct {
|
||||
unsigned scratch_buf_size;
|
||||
unsigned max_dimension;
|
||||
unsigned num_buffers;
|
||||
int trace_tile;
|
||||
int no_hw;
|
||||
int gpu_busy_load;
|
||||
int use_render;
|
||||
int use_blt;
|
||||
int forced_tiling;
|
||||
int use_cpu_maps;
|
||||
int total_rounds;
|
||||
int fail;
|
||||
int tiles_per_buf;
|
||||
int ducttape;
|
||||
int tile_size;
|
||||
int check_render_cpyfn;
|
||||
int use_signal_helper;
|
||||
};
|
||||
|
||||
struct option_struct options;
|
||||
|
||||
#define MAX_BUFS 4096
|
||||
|
@ -26,28 +26,6 @@ struct scratch_buf {
|
||||
unsigned num_tiles;
|
||||
};
|
||||
|
||||
struct option_struct {
|
||||
unsigned scratch_buf_size;
|
||||
unsigned max_dimension;
|
||||
unsigned num_buffers;
|
||||
int trace_tile;
|
||||
int no_hw;
|
||||
int gpu_busy_load;
|
||||
int use_render;
|
||||
int use_blt;
|
||||
int forced_tiling;
|
||||
int use_cpu_maps;
|
||||
int total_rounds;
|
||||
int fail;
|
||||
int tiles_per_buf;
|
||||
int ducttape;
|
||||
int tile_size;
|
||||
int check_render_cpyfn;
|
||||
int use_signal_helper;
|
||||
};
|
||||
|
||||
extern struct option_struct options;
|
||||
|
||||
void keep_gpu_busy(void);
|
||||
|
||||
static inline void emit_vertex_2s(struct intel_batchbuffer *batch,
|
||||
|
Loading…
x
Reference in New Issue
Block a user