Enable Stream-Out on IVB
authorZhou Chang <chang.zhou@intel.com>
Mon, 14 May 2012 07:35:53 +0000 (15:35 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Mon, 14 May 2012 07:37:32 +0000 (15:37 +0800)
Signed-off-by: Zhou Chang <chang.zhou@intel.com>
src/gen7_mfc.c

index f1b8034..f8378b9 100644 (file)
@@ -84,6 +84,7 @@ gen7_mfc_pipe_mode_select(VADriverContextP ctx,
     OUT_BCS_BATCH(batch,
                   (MFX_LONG_MODE << 17) | /* Must be long format for encoder */
                   (MFD_MODE_VLD << 15) | /* VLD mode */
+                  (1 << 10) | /* Stream-Out Enable */
                   ((!!mfc_context->post_deblocking_output.bo) << 9)  | /* Post Deblocking Output */
                   ((!!mfc_context->pre_deblocking_output.bo) << 8)  | /* Pre Deblocking Output */
                   (0 << 8)  | /* Pre Deblocking Output */