Commit ae0f8f0f authored by Jani Nikula's avatar Jani Nikula

drm/i915/oa: update the generated files

Update the generated files to make the headers self-contained, switch to
the kernel preferred SPDX comment format, and update the copyright
year. Also add the Makefile stanza to run header tests on the files.

Other changes produced by gputop i915-perf-kernelgen.py were manually
stripped out, and left to the folks who actually know something about
the OA stuff.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190730113432.22146-3-jani.nikula@intel.com
parent d8af05ff
...@@ -2,3 +2,6 @@ ...@@ -2,3 +2,6 @@
# For building individual subdir files on the command line # For building individual subdir files on the command line
subdir-ccflags-y += -I$(srctree)/$(src)/.. subdir-ccflags-y += -I$(srctree)/$(src)/..
# Extra header tests
header-test-pattern-$(CONFIG_DRM_I915_WERROR) := *.h
// SPDX-License-Identifier: MIT
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
......
/* SPDX-License-Identifier: MIT */
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
...@@ -10,6 +9,8 @@ ...@@ -10,6 +9,8 @@
#ifndef __I915_OA_BDW_H__ #ifndef __I915_OA_BDW_H__
#define __I915_OA_BDW_H__ #define __I915_OA_BDW_H__
struct drm_i915_private;
void i915_perf_load_test_config_bdw(struct drm_i915_private *dev_priv); void i915_perf_load_test_config_bdw(struct drm_i915_private *dev_priv);
#endif #endif
// SPDX-License-Identifier: MIT
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
......
/* SPDX-License-Identifier: MIT */
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
...@@ -10,6 +9,8 @@ ...@@ -10,6 +9,8 @@
#ifndef __I915_OA_BXT_H__ #ifndef __I915_OA_BXT_H__
#define __I915_OA_BXT_H__ #define __I915_OA_BXT_H__
struct drm_i915_private;
void i915_perf_load_test_config_bxt(struct drm_i915_private *dev_priv); void i915_perf_load_test_config_bxt(struct drm_i915_private *dev_priv);
#endif #endif
// SPDX-License-Identifier: MIT
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
......
/* SPDX-License-Identifier: MIT */
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
...@@ -10,6 +9,8 @@ ...@@ -10,6 +9,8 @@
#ifndef __I915_OA_CFLGT2_H__ #ifndef __I915_OA_CFLGT2_H__
#define __I915_OA_CFLGT2_H__ #define __I915_OA_CFLGT2_H__
struct drm_i915_private;
void i915_perf_load_test_config_cflgt2(struct drm_i915_private *dev_priv); void i915_perf_load_test_config_cflgt2(struct drm_i915_private *dev_priv);
#endif #endif
// SPDX-License-Identifier: MIT
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
......
/* SPDX-License-Identifier: MIT */
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
...@@ -10,6 +9,8 @@ ...@@ -10,6 +9,8 @@
#ifndef __I915_OA_CFLGT3_H__ #ifndef __I915_OA_CFLGT3_H__
#define __I915_OA_CFLGT3_H__ #define __I915_OA_CFLGT3_H__
struct drm_i915_private;
void i915_perf_load_test_config_cflgt3(struct drm_i915_private *dev_priv); void i915_perf_load_test_config_cflgt3(struct drm_i915_private *dev_priv);
#endif #endif
// SPDX-License-Identifier: MIT
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
......
/* SPDX-License-Identifier: MIT */
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
...@@ -10,6 +9,8 @@ ...@@ -10,6 +9,8 @@
#ifndef __I915_OA_CHV_H__ #ifndef __I915_OA_CHV_H__
#define __I915_OA_CHV_H__ #define __I915_OA_CHV_H__
struct drm_i915_private;
void i915_perf_load_test_config_chv(struct drm_i915_private *dev_priv); void i915_perf_load_test_config_chv(struct drm_i915_private *dev_priv);
#endif #endif
// SPDX-License-Identifier: MIT
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
......
/* SPDX-License-Identifier: MIT */
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
...@@ -10,6 +9,8 @@ ...@@ -10,6 +9,8 @@
#ifndef __I915_OA_CNL_H__ #ifndef __I915_OA_CNL_H__
#define __I915_OA_CNL_H__ #define __I915_OA_CNL_H__
struct drm_i915_private;
void i915_perf_load_test_config_cnl(struct drm_i915_private *dev_priv); void i915_perf_load_test_config_cnl(struct drm_i915_private *dev_priv);
#endif #endif
// SPDX-License-Identifier: MIT
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
......
/* SPDX-License-Identifier: MIT */
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
...@@ -10,6 +9,8 @@ ...@@ -10,6 +9,8 @@
#ifndef __I915_OA_GLK_H__ #ifndef __I915_OA_GLK_H__
#define __I915_OA_GLK_H__ #define __I915_OA_GLK_H__
struct drm_i915_private;
void i915_perf_load_test_config_glk(struct drm_i915_private *dev_priv); void i915_perf_load_test_config_glk(struct drm_i915_private *dev_priv);
#endif #endif
// SPDX-License-Identifier: MIT
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
......
/* SPDX-License-Identifier: MIT */
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
...@@ -10,6 +9,8 @@ ...@@ -10,6 +9,8 @@
#ifndef __I915_OA_HSW_H__ #ifndef __I915_OA_HSW_H__
#define __I915_OA_HSW_H__ #define __I915_OA_HSW_H__
struct drm_i915_private;
void i915_perf_load_test_config_hsw(struct drm_i915_private *dev_priv); void i915_perf_load_test_config_hsw(struct drm_i915_private *dev_priv);
#endif #endif
// SPDX-License-Identifier: MIT
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
......
/* SPDX-License-Identifier: MIT */
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
...@@ -10,6 +9,8 @@ ...@@ -10,6 +9,8 @@
#ifndef __I915_OA_ICL_H__ #ifndef __I915_OA_ICL_H__
#define __I915_OA_ICL_H__ #define __I915_OA_ICL_H__
struct drm_i915_private;
void i915_perf_load_test_config_icl(struct drm_i915_private *dev_priv); void i915_perf_load_test_config_icl(struct drm_i915_private *dev_priv);
#endif #endif
// SPDX-License-Identifier: MIT
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
......
/* SPDX-License-Identifier: MIT */
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
...@@ -10,6 +9,8 @@ ...@@ -10,6 +9,8 @@
#ifndef __I915_OA_KBLGT2_H__ #ifndef __I915_OA_KBLGT2_H__
#define __I915_OA_KBLGT2_H__ #define __I915_OA_KBLGT2_H__
struct drm_i915_private;
void i915_perf_load_test_config_kblgt2(struct drm_i915_private *dev_priv); void i915_perf_load_test_config_kblgt2(struct drm_i915_private *dev_priv);
#endif #endif
// SPDX-License-Identifier: MIT
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
......
/* SPDX-License-Identifier: MIT */
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
...@@ -10,6 +9,8 @@ ...@@ -10,6 +9,8 @@
#ifndef __I915_OA_KBLGT3_H__ #ifndef __I915_OA_KBLGT3_H__
#define __I915_OA_KBLGT3_H__ #define __I915_OA_KBLGT3_H__
struct drm_i915_private;
void i915_perf_load_test_config_kblgt3(struct drm_i915_private *dev_priv); void i915_perf_load_test_config_kblgt3(struct drm_i915_private *dev_priv);
#endif #endif
// SPDX-License-Identifier: MIT
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
......
/* SPDX-License-Identifier: MIT */
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
...@@ -10,6 +9,8 @@ ...@@ -10,6 +9,8 @@
#ifndef __I915_OA_SKLGT2_H__ #ifndef __I915_OA_SKLGT2_H__
#define __I915_OA_SKLGT2_H__ #define __I915_OA_SKLGT2_H__
struct drm_i915_private;
void i915_perf_load_test_config_sklgt2(struct drm_i915_private *dev_priv); void i915_perf_load_test_config_sklgt2(struct drm_i915_private *dev_priv);
#endif #endif
// SPDX-License-Identifier: MIT
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
......
/* SPDX-License-Identifier: MIT */
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
...@@ -10,6 +9,8 @@ ...@@ -10,6 +9,8 @@
#ifndef __I915_OA_SKLGT3_H__ #ifndef __I915_OA_SKLGT3_H__
#define __I915_OA_SKLGT3_H__ #define __I915_OA_SKLGT3_H__
struct drm_i915_private;
void i915_perf_load_test_config_sklgt3(struct drm_i915_private *dev_priv); void i915_perf_load_test_config_sklgt3(struct drm_i915_private *dev_priv);
#endif #endif
// SPDX-License-Identifier: MIT
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
......
/* SPDX-License-Identifier: MIT */
/* /*
* SPDX-License-Identifier: MIT * Copyright © 2018-2019 Intel Corporation
*
* Copyright © 2018 Intel Corporation
* *
* Autogenerated file by GPU Top : https://github.com/rib/gputop * Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually! * DO NOT EDIT manually!
...@@ -10,6 +9,8 @@ ...@@ -10,6 +9,8 @@
#ifndef __I915_OA_SKLGT4_H__ #ifndef __I915_OA_SKLGT4_H__
#define __I915_OA_SKLGT4_H__ #define __I915_OA_SKLGT4_H__
struct drm_i915_private;
void i915_perf_load_test_config_sklgt4(struct drm_i915_private *dev_priv); void i915_perf_load_test_config_sklgt4(struct drm_i915_private *dev_priv);
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment