aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_common.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2014-03-09 02:07:18 +0800
committerChia-I Wu <[email protected]>2014-03-10 16:42:42 +0800
commit42c1ce4c03c0c5f4fb61b981143cf2638d87c834 (patch)
tree6d8abba785d1602df5813b0598fe6f0efbb16d24 /src/gallium/drivers/ilo/ilo_common.h
parenta434ac045eb2e0333ee8bb6e44aa0a46de2e7438 (diff)
ilo: winsys may limit the batch buffer size
The maximum batch buffer size is determined at the time of drm_intel_bufmgr_gem_init(). Make sure the pipe driver does not exceed the limit.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_common.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_common.h b/src/gallium/drivers/ilo/ilo_common.h
index cc17f76e243..ae7896efc27 100644
--- a/src/gallium/drivers/ilo/ilo_common.h
+++ b/src/gallium/drivers/ilo/ilo_common.h
@@ -68,6 +68,7 @@ enum ilo_debug {
struct ilo_dev_info {
/* these mirror intel_winsys_info */
int devid;
+ int max_batch_size;
bool has_llc;
bool has_gen7_sol_reset;
bool has_address_swizzling;