summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gt/selftest_llc.h
diff options
context:
space:
mode:
authorAndi Shyti <andi.shyti@intel.com>2019-10-20 21:41:39 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2019-10-20 22:45:18 +0300
commit0dc3c562aa95e029f40779c5c9709c7c1bdeb415 (patch)
treeb84c083daf23ec5bd936ace8ac6d79095f16af13 /drivers/gpu/drm/i915/gt/selftest_llc.h
parent8814c6d01f7e82e6be70ac04d8bca0fc90757418 (diff)
downloadlinux-0dc3c562aa95e029f40779c5c9709c7c1bdeb415.tar.xz
drm/i915: Extract GT ring management
Although the ring management is much smaller compared to the other GT power management functions, continue the theme of extracting it out of the huge intel_pm.c for maintenance. Based on a patch by Chris Wilson. Signed-off-by: Andi Shyti <andi.shyti@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20191020184139.9145-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/gt/selftest_llc.h')
-rw-r--r--drivers/gpu/drm/i915/gt/selftest_llc.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gt/selftest_llc.h b/drivers/gpu/drm/i915/gt/selftest_llc.h
new file mode 100644
index 000000000000..873f896e72f2
--- /dev/null
+++ b/drivers/gpu/drm/i915/gt/selftest_llc.h
@@ -0,0 +1,14 @@
+/*
+ * SPDX-License-Identifier: MIT
+ *
+ * Copyright © 2019 Intel Corporation
+ */
+
+#ifndef SELFTEST_LLC_H
+#define SELFTEST_LLC_H
+
+struct intel_llc;
+
+int st_llc_verify(struct intel_llc *llc);
+
+#endif /* SELFTEST_LLC_H */