mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-25 16:56:35 +00:00
gem_stress: move a few things out of gem_stress.h
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
f1de285e7e
commit
699d30950f
@ -75,6 +75,11 @@ drm_intel_bo *busy_bo;
|
||||
|
||||
struct option_struct options;
|
||||
|
||||
#define MAX_BUFS 4096
|
||||
#define SCRATCH_BUF_SIZE 1024*1024
|
||||
#define BUSY_BUF_SIZE (256*4096)
|
||||
#define TILE_BYTES(size) ((size)*(size)*sizeof(uint32_t))
|
||||
|
||||
static struct scratch_buf buffers[2][MAX_BUFS];
|
||||
/* tile i is at logical position tile_permutation[i] */
|
||||
static unsigned *tile_permutation;
|
||||
|
@ -47,16 +47,6 @@ struct option_struct {
|
||||
};
|
||||
|
||||
extern struct option_struct options;
|
||||
extern drm_intel_bufmgr *bufmgr;
|
||||
extern int drm_fd;
|
||||
extern int devid;
|
||||
|
||||
extern int fence_storm;
|
||||
|
||||
#define MAX_BUFS 4096
|
||||
#define SCRATCH_BUF_SIZE 1024*1024
|
||||
#define BUSY_BUF_SIZE (256*4096)
|
||||
#define TILE_BYTES(size) ((size)*(size)*sizeof(uint32_t))
|
||||
|
||||
void keep_gpu_busy(void);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user