summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2017-01-17 08:40:17 +0800
committerSean V Kelley <seanvk@posteo.de>2017-01-17 15:03:29 -0800
commitee9261e895a5b86a2532595629cd9c31fff51747 (patch)
treea36412c980693fa3e7758f5127f71422ea98ec37
parent5fcd0f487df8b727e04c117e1b70b62f728eba78 (diff)
Fix the incorrect configuration of media_pipeline power domain
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Reviewed-by: Sean V Kelley <seanvk@posteo.de>
-rw-r--r--src/gen8_mfc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gen8_mfc.c b/src/gen8_mfc.c
index 7efe66e..9ea7423 100644
--- a/src/gen8_mfc.c
+++ b/src/gen8_mfc.c
@@ -1642,11 +1642,12 @@ gen8_mfc_avc_batchbuffer_pipeline(VADriverContextP ctx,
mfc_context->aux_batchbuffer = NULL;
}
+ if (IS_GEN9(i965->intel.device_info))
+ gen9_gpe_pipeline_end(ctx, &mfc_context->gpe_context, batch);
+
intel_batchbuffer_end_atomic(batch);
intel_batchbuffer_flush(batch);
- if (IS_GEN9(i965->intel.device_info))
- gen9_gpe_pipeline_end(ctx, &mfc_context->gpe_context, batch);
}
static void