drm/i915: Move OA files to separate folder
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Wed, 26 Jun 2019 12:38:26 +0000 (12:38 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 26 Jun 2019 22:23:59 +0000 (23:23 +0100)
OA files look to be auto-generated so we can keep them all in
dedicated subdirectory.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jani Nikula <jani.nikula@intel.com>
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190626123826.39760-1-michal.wajdeczko@intel.com
31 files changed:
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/i915_perf.c
drivers/gpu/drm/i915/oa/Makefile [new file with mode: 0644]
drivers/gpu/drm/i915/oa/i915_oa_bdw.c [moved from drivers/gpu/drm/i915/i915_oa_bdw.c with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_bdw.h [moved from drivers/gpu/drm/i915/i915_oa_bdw.h with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_bxt.c [moved from drivers/gpu/drm/i915/i915_oa_bxt.c with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_bxt.h [moved from drivers/gpu/drm/i915/i915_oa_bxt.h with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_cflgt2.c [moved from drivers/gpu/drm/i915/i915_oa_cflgt2.c with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_cflgt2.h [moved from drivers/gpu/drm/i915/i915_oa_cflgt2.h with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_cflgt3.c [moved from drivers/gpu/drm/i915/i915_oa_cflgt3.c with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_cflgt3.h [moved from drivers/gpu/drm/i915/i915_oa_cflgt3.h with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_chv.c [moved from drivers/gpu/drm/i915/i915_oa_chv.c with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_chv.h [moved from drivers/gpu/drm/i915/i915_oa_chv.h with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_cnl.c [moved from drivers/gpu/drm/i915/i915_oa_cnl.c with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_cnl.h [moved from drivers/gpu/drm/i915/i915_oa_cnl.h with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_glk.c [moved from drivers/gpu/drm/i915/i915_oa_glk.c with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_glk.h [moved from drivers/gpu/drm/i915/i915_oa_glk.h with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_hsw.c [moved from drivers/gpu/drm/i915/i915_oa_hsw.c with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_hsw.h [moved from drivers/gpu/drm/i915/i915_oa_hsw.h with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_icl.c [moved from drivers/gpu/drm/i915/i915_oa_icl.c with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_icl.h [moved from drivers/gpu/drm/i915/i915_oa_icl.h with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_kblgt2.c [moved from drivers/gpu/drm/i915/i915_oa_kblgt2.c with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_kblgt2.h [moved from drivers/gpu/drm/i915/i915_oa_kblgt2.h with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_kblgt3.c [moved from drivers/gpu/drm/i915/i915_oa_kblgt3.c with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_kblgt3.h [moved from drivers/gpu/drm/i915/i915_oa_kblgt3.h with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_sklgt2.c [moved from drivers/gpu/drm/i915/i915_oa_sklgt2.c with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_sklgt2.h [moved from drivers/gpu/drm/i915/i915_oa_sklgt2.h with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_sklgt3.c [moved from drivers/gpu/drm/i915/i915_oa_sklgt3.c with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_sklgt3.h [moved from drivers/gpu/drm/i915/i915_oa_sklgt3.h with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_sklgt4.c [moved from drivers/gpu/drm/i915/i915_oa_sklgt4.c with 100% similarity]
drivers/gpu/drm/i915/oa/i915_oa_sklgt4.h [moved from drivers/gpu/drm/i915/i915_oa_sklgt4.h with 100% similarity]

index 84ac0fd..0fbc350 100644 (file)
@@ -212,6 +212,25 @@ i915-y += \
        display/vlv_dsi.o \
        display/vlv_dsi_pll.o
 
+# perf code
+obj-y += oa/
+i915-y += \
+       oa/i915_oa_hsw.o \
+       oa/i915_oa_bdw.o \
+       oa/i915_oa_chv.o \
+       oa/i915_oa_sklgt2.o \
+       oa/i915_oa_sklgt3.o \
+       oa/i915_oa_sklgt4.o \
+       oa/i915_oa_bxt.o \
+       oa/i915_oa_kblgt2.o \
+       oa/i915_oa_kblgt3.o \
+       oa/i915_oa_glk.o \
+       oa/i915_oa_cflgt2.o \
+       oa/i915_oa_cflgt3.o \
+       oa/i915_oa_cnl.o \
+       oa/i915_oa_icl.o
+i915-y += i915_perf.o
+
 # Post-mortem debug and GPU hang state capture
 i915-$(CONFIG_DRM_I915_CAPTURE_ERROR) += i915_gpu_error.o
 i915-$(CONFIG_DRM_I915_SELFTEST) += \
@@ -226,23 +245,6 @@ i915-$(CONFIG_DRM_I915_SELFTEST) += \
 # virtual gpu code
 i915-y += i915_vgpu.o
 
-# perf code
-i915-y += i915_perf.o \
-         i915_oa_hsw.o \
-         i915_oa_bdw.o \
-         i915_oa_chv.o \
-         i915_oa_sklgt2.o \
-         i915_oa_sklgt3.o \
-         i915_oa_sklgt4.o \
-         i915_oa_bxt.o \
-         i915_oa_kblgt2.o \
-         i915_oa_kblgt3.o \
-         i915_oa_glk.o \
-         i915_oa_cflgt2.o \
-         i915_oa_cflgt3.o \
-         i915_oa_cnl.o \
-         i915_oa_icl.o
-
 ifeq ($(CONFIG_DRM_I915_GVT),y)
 i915-y += intel_gvt.o
 include $(src)/gvt/Makefile
index d28a5bf..357e63b 100644 (file)
 #include "gt/intel_lrc_reg.h"
 
 #include "i915_drv.h"
-#include "i915_oa_hsw.h"
-#include "i915_oa_bdw.h"
-#include "i915_oa_chv.h"
-#include "i915_oa_sklgt2.h"
-#include "i915_oa_sklgt3.h"
-#include "i915_oa_sklgt4.h"
-#include "i915_oa_bxt.h"
-#include "i915_oa_kblgt2.h"
-#include "i915_oa_kblgt3.h"
-#include "i915_oa_glk.h"
-#include "i915_oa_cflgt2.h"
-#include "i915_oa_cflgt3.h"
-#include "i915_oa_cnl.h"
-#include "i915_oa_icl.h"
+#include "oa/i915_oa_hsw.h"
+#include "oa/i915_oa_bdw.h"
+#include "oa/i915_oa_chv.h"
+#include "oa/i915_oa_sklgt2.h"
+#include "oa/i915_oa_sklgt3.h"
+#include "oa/i915_oa_sklgt4.h"
+#include "oa/i915_oa_bxt.h"
+#include "oa/i915_oa_kblgt2.h"
+#include "oa/i915_oa_kblgt3.h"
+#include "oa/i915_oa_glk.h"
+#include "oa/i915_oa_cflgt2.h"
+#include "oa/i915_oa_cflgt3.h"
+#include "oa/i915_oa_cnl.h"
+#include "oa/i915_oa_icl.h"
 
 /* HW requires this to be a power of two, between 128k and 16M, though driver
  * is currently generally designed assuming the largest 16M size is used such
diff --git a/drivers/gpu/drm/i915/oa/Makefile b/drivers/gpu/drm/i915/oa/Makefile
new file mode 100644 (file)
index 0000000..e69de29