mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 04:42:53 +00:00
lib: unnecessary header removal for drmtest.h, part 2
I've left unistd.h in it - it's not strictly required but most users of drmtest.h want it for the open helpers, and then you kinda need to close that file descriptor again ... Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -27,6 +27,9 @@
|
||||
|
||||
#include <limits.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "drmtest.h"
|
||||
|
||||
/**
|
||||
|
||||
@@ -27,6 +27,11 @@
|
||||
|
||||
#include <limits.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <drm.h>
|
||||
|
||||
#include "igt_core.h"
|
||||
#include "drmtest.h"
|
||||
|
||||
/**
|
||||
|
||||
@@ -31,6 +31,8 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "ioctl_wrappers.h"
|
||||
#include "drmtest.h"
|
||||
|
||||
|
||||
@@ -27,6 +27,8 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "ioctl_wrappers.h"
|
||||
#include "drmtest.h"
|
||||
|
||||
|
||||
@@ -33,9 +33,11 @@
|
||||
#include <string.h>
|
||||
#include <fcntl.h>
|
||||
#include <inttypes.h>
|
||||
#include <drm.h>
|
||||
#include "ioctl_wrappers.h"
|
||||
#include <errno.h>
|
||||
|
||||
#include <drm.h>
|
||||
|
||||
#include "ioctl_wrappers.h"
|
||||
#include "drmtest.h"
|
||||
#include "intel_chipset.h"
|
||||
#include "intel_gpu_tools.h"
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <pthread.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "drmtest.h"
|
||||
#include "ioctl_wrappers.h"
|
||||
|
||||
@@ -27,6 +27,8 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "ioctl_wrappers.h"
|
||||
#include "drmtest.h"
|
||||
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
#include <wordexp.h>
|
||||
#include <getopt.h>
|
||||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "ioctl_wrappers.h"
|
||||
#include "drmtest.h"
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
#include <errno.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
#include "drm.h"
|
||||
#include "ioctl_wrappers.h"
|
||||
#include "drmtest.h"
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <sys/wait.h>
|
||||
#include <sys/types.h>
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "drmtest.h"
|
||||
#include "igt_core.h"
|
||||
|
||||
@@ -29,6 +29,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "drmtest.h"
|
||||
|
||||
#define SLEEP_DURATION 5000 // in milliseconds
|
||||
|
||||
@@ -30,6 +30,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "drmtest.h"
|
||||
|
||||
#define SLEEP_DURATION 3000 // in milliseconds
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#include <getopt.h>
|
||||
#include <fcntl.h>
|
||||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "drmtest.h"
|
||||
#include "intel_gpu_tools.h"
|
||||
|
||||
+2
-1
@@ -24,7 +24,8 @@
|
||||
#include <errno.h>
|
||||
|
||||
#include "xf86drm.h"
|
||||
#include "xf86drmMode.h"
|
||||
#include <xf86drmMode.h>
|
||||
|
||||
#include "ioctl_wrappers.h"
|
||||
#include "intel_bufmgr.h"
|
||||
#include "intel_gpu_tools.h"
|
||||
|
||||
Reference in New Issue
Block a user