assembler/bdw: Video Motion Estimation(VME) message

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
Xiang, Haihao 2013-02-22 11:14:10 +08:00 committed by Ben Widawsky
parent bf003ea634
commit b6a33bdcce
2 changed files with 14 additions and 1 deletions

View File

@ -208,6 +208,14 @@ F(ts_request_type, 97, 97)
F(ts_opcode, 96, 96)
/** @} */
/**
* Video Motion Estimation message function control bits:
* @ {
*/
F(vme_message_type, 110, 109)
F(vme_binding_table_index, 103, 96)
/** @} */
#undef F
/**

View File

@ -1778,7 +1778,12 @@ msgtarget: NULL_TOKEN
{
GEN(&$$)->bits3.generic.msg_target = GEN6_SFID_VME;
if (IS_GENp(6)) {
if (IS_GENp(8)) {
gen8_set_sfid(GEN8(&$$), GEN6_SFID_VME);
gen8_set_header_present(GEN8(&$$), 1); /* Must be 1 */
gen8_set_vme_binding_table_index(GEN8(&$$), $3);
gen8_set_vme_message_type(GEN8(&$$), $9);
} else if (IS_GENp(6)) {
GEN(&$$)->bits2.send_gen5.sfid = GEN6_SFID_VME;
GEN(&$$)->bits3.vme_gen6.binding_table_index = $3;
GEN(&$$)->bits3.vme_gen6.search_path_index = $5;