summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_gpe_gen6.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2014-03-02 11:59:26 +0800
committerChia-I Wu <[email protected]>2014-03-10 16:43:53 +0800
commitd8b2e3c25eca4e1cc96b004216f433cbfd73e5f7 (patch)
treedc425ba0c7824fca1421b2e3f1df9cb99bcd386c /src/gallium/drivers/ilo/ilo_gpe_gen6.c
parent0f41f9c63d505bd5d1477ccc4eab1afd587e563a (diff)
ilo: add some MI commands to GPE
We will need MI commands that load/store registers.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_gpe_gen6.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_gpe_gen6.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_gpe_gen6.c b/src/gallium/drivers/ilo/ilo_gpe_gen6.c
index 3ea8b8f5e77..c4b8839d474 100644
--- a/src/gallium/drivers/ilo/ilo_gpe_gen6.c
+++ b/src/gallium/drivers/ilo/ilo_gpe_gen6.c
@@ -2581,6 +2581,10 @@ ilo_gpe_gen6_estimate_command_size(const struct ilo_dev_info *dev,
int header;
int body;
} gen6_command_size_table[ILO_GPE_GEN6_COMMAND_COUNT] = {
+ [ILO_GPE_GEN6_MI_STORE_DATA_IMM] = { 0, 5 },
+ [ILO_GPE_GEN6_MI_LOAD_REGISTER_IMM] = { 0, 3 },
+ [ILO_GPE_GEN6_MI_STORE_REGISTER_MEM] = { 0, 3 },
+ [ILO_GPE_GEN6_MI_REPORT_PERF_COUNT] = { 0, 3 },
[ILO_GPE_GEN6_STATE_BASE_ADDRESS] = { 0, 10 },
[ILO_GPE_GEN6_STATE_SIP] = { 0, 2 },
[ILO_GPE_GEN6_3DSTATE_VF_STATISTICS] = { 0, 1 },