[Libva] [Libva-intel-driver][PATCH 1/2] Rename gen9_gpe_mi_load_register_xxx() to gen8_gpe_mi_load_register_xxx()
Xiang, Haihao
haihao.xiang at intel.com
Tue Nov 29 06:19:42 UTC 2016
xxx is mem/imm/reg and the 3 functions can be used for GEN8 too
Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com>
---
src/gen9_vp9_encoder.c | 2 +-
src/i965_gpe_utils.c | 6 +++---
src/i965_gpe_utils.h | 6 +++---
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/gen9_vp9_encoder.c b/src/gen9_vp9_encoder.c
index 537b390..3ea1537 100644
--- a/src/gen9_vp9_encoder.c
+++ b/src/gen9_vp9_encoder.c
@@ -5921,7 +5921,7 @@ gen9_vp9_pak_pipeline(VADriverContextP ctx,
memset(&mi_load_reg_imm, 0, sizeof(mi_load_reg_imm));
mi_load_reg_imm.mmio_offset = status_buffer->vp9_image_ctrl_reg_offset;
mi_load_reg_imm.data = 0;
- gen9_gpe_mi_load_register_imm(ctx, batch, &mi_load_reg_imm);
+ gen8_gpe_mi_load_register_imm(ctx, batch, &mi_load_reg_imm);
}
gen9_vp9_pak_picture_level(ctx, encode_state, encoder_context);
gen9_vp9_read_mfc_status(ctx, encoder_context);
diff --git a/src/i965_gpe_utils.c b/src/i965_gpe_utils.c
index 1e2f9f3..d0eab7f 100644
--- a/src/i965_gpe_utils.c
+++ b/src/i965_gpe_utils.c
@@ -1548,7 +1548,7 @@ gen8_gpe_mi_store_register_mem(VADriverContextP ctx,
}
void
-gen9_gpe_mi_load_register_mem(VADriverContextP ctx,
+gen8_gpe_mi_load_register_mem(VADriverContextP ctx,
struct intel_batchbuffer *batch,
struct gpe_mi_load_register_mem_parameter *params)
{
@@ -1561,7 +1561,7 @@ gen9_gpe_mi_load_register_mem(VADriverContextP ctx,
}
void
-gen9_gpe_mi_load_register_imm(VADriverContextP ctx,
+gen8_gpe_mi_load_register_imm(VADriverContextP ctx,
struct intel_batchbuffer *batch,
struct gpe_mi_load_register_imm_parameter *params)
{
@@ -1571,7 +1571,7 @@ gen9_gpe_mi_load_register_imm(VADriverContextP ctx,
}
void
-gen9_gpe_mi_load_register_reg(VADriverContextP ctx,
+gen8_gpe_mi_load_register_reg(VADriverContextP ctx,
struct intel_batchbuffer *batch,
struct gpe_mi_load_register_reg_parameter *params)
{
diff --git a/src/i965_gpe_utils.h b/src/i965_gpe_utils.h
index f8ee228..667ebf2 100644
--- a/src/i965_gpe_utils.h
+++ b/src/i965_gpe_utils.h
@@ -388,15 +388,15 @@ void gen8_gpe_mi_store_register_mem(VADriverContextP ctx,
struct intel_batchbuffer *batch,
struct gpe_mi_store_register_mem_parameter *params);
-void gen9_gpe_mi_load_register_mem(VADriverContextP ctx,
+void gen8_gpe_mi_load_register_mem(VADriverContextP ctx,
struct intel_batchbuffer *batch,
struct gpe_mi_load_register_mem_parameter *params);
-void gen9_gpe_mi_load_register_imm(VADriverContextP ctx,
+void gen8_gpe_mi_load_register_imm(VADriverContextP ctx,
struct intel_batchbuffer *batch,
struct gpe_mi_load_register_imm_parameter *params);
-void gen9_gpe_mi_load_register_reg(VADriverContextP ctx,
+void gen8_gpe_mi_load_register_reg(VADriverContextP ctx,
struct intel_batchbuffer *batch,
struct gpe_mi_load_register_reg_parameter *params);
--
1.9.1
More information about the Libva
mailing list