aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_screen.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_screen.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_screen.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_screen.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/ilo/ilo_screen.h b/src/gallium/drivers/ilo/ilo_screen.h
index 7883f185bde..4c403f042f2 100644
--- a/src/gallium/drivers/ilo/ilo_screen.h
+++ b/src/gallium/drivers/ilo/ilo_screen.h
@@ -45,10 +45,7 @@ struct ilo_screen {
struct pipe_screen base;
struct intel_winsys *winsys;
- int devid;
- int gen;
-
- bool has_llc;
+ struct ilo_dev_info dev;
};
static inline struct ilo_screen *