*
*/
-#pragma once
+#ifndef GEN_DEVICE_INFO_H
+#define GEN_DEVICE_INFO_H
+
#include <stdbool.h>
/**
bool is_haswell;
bool is_cherryview;
bool is_broxton;
+ bool is_kabylake;
bool has_hiz_and_separate_stencil;
bool must_use_separate_stencil;
* urb.size = URB Size (kbytes) / slice count
*/
unsigned size;
- unsigned min_vs_entries;
- unsigned max_vs_entries;
- unsigned max_tcs_entries;
- unsigned min_ds_entries;
- unsigned max_tes_entries;
- unsigned max_gs_entries;
+
+ /**
+ * The minimum number of URB entries. See the 3DSTATE_URB_<XS> docs.
+ */
+ unsigned min_entries[4];
+
+ /**
+ * The maximum number of URB entries. See the 3DSTATE_URB_<XS> docs.
+ */
+ unsigned max_entries[4];
} urb;
/** @} */
};
bool gen_get_device_info(int devid, struct gen_device_info *devinfo);
const char *gen_get_device_name(int devid);
+
+#endif /* GEN_DEVICE_INFO_H */