mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 12:52:55 +00:00
lib: rename intel_gpu_tools.h to intel_io.h
With the header cleanup we can now give this header a suitable name, since it now really only contains register access and other I/O functions and assorted definitions. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
#include <string.h>
|
||||
#include <err.h>
|
||||
#include <arpa/inet.h>
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_reg.h"
|
||||
#include "intel_chipset.h"
|
||||
#include "drmtest.h"
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_chipset.h"
|
||||
#include "intel_reg.h"
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "intel_bios.h"
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_chipset.h"
|
||||
#include "drmtest.h"
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include <stdio.h>
|
||||
#include <err.h>
|
||||
#include <string.h>
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_chipset.h"
|
||||
|
||||
static void usage(char *cmdname)
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include <stdio.h>
|
||||
#include <err.h>
|
||||
#include <string.h>
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_chipset.h"
|
||||
|
||||
static void usage(char *cmdname)
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
#include <intel_bufmgr.h>
|
||||
|
||||
#include "intel_chipset.h"
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "instdone.h"
|
||||
#include "intel_reg.h"
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <syslog.h>
|
||||
#include <unistd.h>
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_chipset.h"
|
||||
|
||||
bool daemonized;
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#include <i915_drm.h>
|
||||
#include <cairo.h>
|
||||
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "drmtest.h"
|
||||
|
||||
int main(int argc, char **argv)
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include <sys/resource.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_chipset.h"
|
||||
#include "intel_reg.h"
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
#ifdef HAVE_TERMIOS_H
|
||||
#include <termios.h>
|
||||
#endif
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "instdone.h"
|
||||
#include "intel_reg.h"
|
||||
#include "intel_chipset.h"
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@
|
||||
#include <pciaccess.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_chipset.h"
|
||||
|
||||
#define KB(x) ((x) * 1024)
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <getopt.h>
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_chipset.h"
|
||||
#include "drmtest.h"
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include <unistd.h>
|
||||
#include <getopt.h>
|
||||
#include "intel_chipset.h"
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "drmtest.h"
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_reg.h"
|
||||
#include "intel_bios.h"
|
||||
#include "intel_chipset.h"
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include <stdio.h>
|
||||
#include <err.h>
|
||||
#include <string.h>
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_chipset.h"
|
||||
|
||||
static void usage(char *cmdname)
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include <stdio.h>
|
||||
#include <err.h>
|
||||
#include <string.h>
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_chipset.h"
|
||||
|
||||
static void usage(char *cmdname)
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "drmtest.h"
|
||||
|
||||
#define OPREGION_HEADER_OFFSET 0
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_chipset.h"
|
||||
#include "intel_reg.h"
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
#include "drm.h"
|
||||
#include "i915_drm.h"
|
||||
#include "drmtest.h"
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_bufmgr.h"
|
||||
#include "intel_batchbuffer.h"
|
||||
#include "intel_chipset.h"
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include <stdio.h>
|
||||
#include <err.h>
|
||||
#include <string.h>
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_chipset.h"
|
||||
|
||||
static void usage(char *cmdname)
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include <stdio.h>
|
||||
#include <err.h>
|
||||
#include <string.h>
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_chipset.h"
|
||||
|
||||
static void usage(char *cmdname)
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <err.h>
|
||||
#include <string.h>
|
||||
#include <stdbool.h>
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_chipset.h"
|
||||
|
||||
static uint32_t devid;
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#include <string.h>
|
||||
#include <err.h>
|
||||
#include <unistd.h>
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_chipset.h"
|
||||
#include "intel_reg.h"
|
||||
#include "drmtest.h"
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include <stdio.h>
|
||||
#include <err.h>
|
||||
#include <string.h>
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_chipset.h"
|
||||
|
||||
static void bit_decode(uint32_t reg)
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
#include <unistd.h>
|
||||
#include <assert.h>
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_chipset.h"
|
||||
|
||||
int main(int argc, char** argv)
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <err.h>
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_chipset.h"
|
||||
|
||||
int main(int argc, char** argv)
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#include <pciaccess.h>
|
||||
#include <err.h>
|
||||
#include "intel_chipset.h"
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_reg.h"
|
||||
|
||||
static void
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/io.h>
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_chipset.h"
|
||||
|
||||
static uint8_t read_reg(uint32_t reg, bool use_mmio)
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/io.h>
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_io.h"
|
||||
#include "intel_chipset.h"
|
||||
|
||||
static void write_reg(uint32_t reg, uint8_t val, bool use_mmio)
|
||||
|
||||
Reference in New Issue
Block a user