summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_common.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-04-29 09:41:11 +0800
committerChia-I Wu <[email protected]>2013-05-01 11:20:41 +0800
commitbb1f635dcc8f6d817b49785edcf6ec6b46ca5405 (patch)
tree0513e91559dce627a0904abc99dd33808bc42bc5 /src/gallium/drivers/ilo/ilo_common.h
parent355f3f7ab50ea97c63887bfcaa274edbec5bfdf0 (diff)
ilo: add ilo_dev_info shared by the screen and contexts
The struct is used to describe the device information, such as PCI ID, GEN, GT, and etc.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_common.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_common.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_common.h b/src/gallium/drivers/ilo/ilo_common.h
index 7e6932ac12c..d86b10b06c8 100644
--- a/src/gallium/drivers/ilo/ilo_common.h
+++ b/src/gallium/drivers/ilo/ilo_common.h
@@ -54,6 +54,16 @@ enum ilo_debug {
ILO_DEBUG_NOCACHE = 1 << 9,
};
+struct ilo_dev_info {
+ /* these mirror intel_winsys_info */
+ int devid;
+ bool has_llc;
+ bool has_gen7_sol_reset;
+
+ int gen;
+ int gt;
+};
+
extern int ilo_debug;
/**