mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-23 14:23:03 +00:00
i-g-t: check kernel enable rings or not
1. add functions check kernel enable a ring or not. 2. add function gem_get_num_rings() to check how many rings kernel has enable. 3. gem_ring_sync_loop.c will call gem_get_num_rings() directly instead of original static fucntion get_number_rings(). Signed-off-by: Zhong Li <zhong.li@intel.com> [Ben: Wrapped commit message + whitespace fixes] Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
+5
-1
@@ -47,8 +47,12 @@ int drm_open_any_master(void);
|
||||
void gem_quiescent_gpu(int fd);
|
||||
|
||||
/* ioctl wrappers and similar stuff for bare metal testing */
|
||||
int gem_has_vebox(int fd);
|
||||
void gem_set_tiling(int fd, uint32_t handle, int tiling, int stride);
|
||||
bool gem_has_enable_ring(int fd,int param);
|
||||
bool gem_has_bsd(int fd);
|
||||
bool gem_has_blt(int fd);
|
||||
bool gem_has_vebox(int fd);
|
||||
int gem_get_num_rings(int fd);
|
||||
int gem_has_cacheing(int fd);
|
||||
void gem_set_cacheing(int fd, uint32_t handle, int cacheing);
|
||||
int gem_get_cacheing(int fd, uint32_t handle);
|
||||
|
||||
Reference in New Issue
Block a user