diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2010-03-26 12:48:50 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2010-03-26 12:48:50 +0800 |
commit | bffbec25d16f93e57b2305e65e5dd16445e1a88f (patch) | |
tree | 468c9adc53e2971a1ecb2d6e3dcfb3c0fcfe1a6a /i965_drv_video/shaders/h264/mc/BSDReset.asm | |
parent | 11f69c8407d2d1ee68d9ca12f650a62a3b0bef64 (diff) | |
download | libva-bffbec25d16f93e57b2305e65e5dd16445e1a88f.tar.gz |
i965_drv_video: add support for H264 on Clarkdale/Arrandale
Diffstat (limited to 'i965_drv_video/shaders/h264/mc/BSDReset.asm')
-rw-r--r-- | i965_drv_video/shaders/h264/mc/BSDReset.asm | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/i965_drv_video/shaders/h264/mc/BSDReset.asm b/i965_drv_video/shaders/h264/mc/BSDReset.asm new file mode 100644 index 0000000..5c6e5df --- /dev/null +++ b/i965_drv_video/shaders/h264/mc/BSDReset.asm @@ -0,0 +1,43 @@ +/*
+ * Initial kernel for filling initial BSD command buffer
+ * Copyright © <2010>, Intel Corporation.
+ *
+ * This program is licensed under the terms and conditions of the
+ * Eclipse Public License (EPL), version 1.0. The full text of the EPL is at
+ * http://www.opensource.org/licenses/eclipse-1.0.php.
+ *
+ */
+// Kernel name: BSDReset.asm
+//
+// Initial kernel for filling initial BSD command buffer
+//
+
+// ----------------------------------------------------
+// Main: BSDReset
+// ----------------------------------------------------
+
+.kernel BSDReset
+BSDRESET:
+
+#include "header.inc"
+
+.code
+#ifdef SW_SCOREBOARD
+ CALL(scoreboard_start_inter,1)
+ wait n0:ud // Now wait for scoreboard to response
+
+#define BSDRESET_ENABLE
+ #include "scoreboard_update.asm" // scorboard update function
+#undef BSDRESET_ENABLE
+
+#endif // defined(SW_SCOREBOARD)
+
+// Terminate the thread
+//
+ END_THREAD
+
+#if !defined(COMBINED_KERNEL) // For standalone kernel only
+.end_code
+
+.end_kernel
+#endif // !defined(COMBINED_KERNEL)
|