mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 13:23:02 +00:00
lib: unnecessary header removal for drmtest.h, part 1
Brought a few missing headers to light in ioctl_wrappers.h, too. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -56,6 +56,7 @@
|
||||
#include "../version.h"
|
||||
#include "config.h"
|
||||
#include "intel_reg.h"
|
||||
#include "ioctl_wrappers.h"
|
||||
|
||||
/* This file contains a bunch of wrapper functions to directly use gem ioctls.
|
||||
* Mostly useful to write kernel tests. */
|
||||
|
||||
@@ -33,18 +33,11 @@
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <stdbool.h>
|
||||
#include <setjmp.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
#include "xf86drm.h"
|
||||
#include "xf86drmMode.h"
|
||||
#include "i915_drm.h"
|
||||
#include "intel_batchbuffer.h"
|
||||
#include "intel_chipset.h"
|
||||
#include "intel_gpu_tools.h"
|
||||
|
||||
#include "ioctl_wrappers.h"
|
||||
#include "igt_core.h"
|
||||
|
||||
#ifdef ANDROID
|
||||
#ifndef HAVE_MMAP64
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/mount.h>
|
||||
#include <errno.h>
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
|
||||
#include "drmtest.h"
|
||||
#include "igt_kms.h"
|
||||
#include "ioctl_wrappers.h"
|
||||
|
||||
/* helpers to create nice-looking framebuffers */
|
||||
static int create_bo_for_fb(int fd, int width, int height, int bpp,
|
||||
|
||||
@@ -30,6 +30,11 @@
|
||||
#ifndef IOCTL_WRAPPERS_H
|
||||
#define IOCTL_WRAPPERS_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <intel_bufmgr.h>
|
||||
#include <i915_drm.h>
|
||||
|
||||
/* libdrm interfacing */
|
||||
drm_intel_bo * gem_handle_to_libdrm_bo(drm_intel_bufmgr *bufmgr, int fd,
|
||||
const char *name, uint32_t handle);
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include "intel_bufmgr.h"
|
||||
#include "intel_batchbuffer.h"
|
||||
#include "intel_gpu_tools.h"
|
||||
#include "intel_chipset.h"
|
||||
#include "rendercopy.h"
|
||||
#include "gen7_render.h"
|
||||
#include "intel_reg.h"
|
||||
|
||||
Reference in New Issue
Block a user