mirror of
https://github.com/elwrcl/intel-hard-graphics.git
synced 2026-10-31 19:08:03 +03:00
fix gen7 bits
[dancingmirrors: Adapt for the current genxml format.]
This commit is contained in:
1 parent
5d68b51dca
commit
353385c186
2 files changed
+9
-1
No files matched your search
@@ -1793,7 +1793,7 @@
|
|||||||
<field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="1" />
|
<field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="1" />
|
||||||
<field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" />
|
<field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" />
|
||||||
<field name="Command Type" dword="0" bits="31:29" type="uint" default="3" />
|
<field name="Command Type" dword="0" bits="31:29" type="uint" default="3" />
|
||||||
<group count="32" dword="33" size="32">
|
<group count="32" dword="1" size="32">
|
||||||
<field name="Direct MV Buffer - Address" dword="0" bits="31:6" type="address" />
|
<field name="Direct MV Buffer - Address" dword="0" bits="31:6" type="address" />
|
||||||
<field name="Direct MV Buffer - Arbitration Priority Control" dword="0" bits="5:4" type="uint">
|
<field name="Direct MV Buffer - Arbitration Priority Control" dword="0" bits="5:4" type="uint">
|
||||||
<value name="Highest priority" value="0" />
|
<value name="Highest priority" value="0" />
|
||||||
|
|||||||
@@ -353,6 +353,12 @@ anv_h264_decode_video(struct anv_cmd_buffer *cmd_buffer,
|
|||||||
dmv_bo = anv_image_address(ref_iv->image,
|
dmv_bo = anv_image_address(ref_iv->image,
|
||||||
&ref_iv->image->vid_dmv_top_surface).bo;
|
&ref_iv->image->vid_dmv_top_surface).bo;
|
||||||
}
|
}
|
||||||
|
#if GFX_VERx10 == 70
|
||||||
|
avc_directmode.DirectMVBufferAddress[idx * 2] = anv_image_address(ref_iv->image,
|
||||||
|
&ref_iv->image->vid_dmv_top_surface);
|
||||||
|
avc_directmode.DirectMVBufferAddress[idx * 2 + 1] = anv_image_address(ref_iv->image,
|
||||||
|
&ref_iv->image->vid_dmv_top_surface);
|
||||||
|
#endif
|
||||||
|
|
||||||
#if GFX_VERx10 == 75
|
#if GFX_VERx10 == 75
|
||||||
if (idx == 0)
|
if (idx == 0)
|
||||||
@@ -368,6 +374,8 @@ anv_h264_decode_video(struct anv_cmd_buffer *cmd_buffer,
|
|||||||
#if GFX_VERx10 == 70
|
#if GFX_VERx10 == 70
|
||||||
avc_directmode.DirectMVBufferWriteAddress[0] = anv_image_address(img,
|
avc_directmode.DirectMVBufferWriteAddress[0] = anv_image_address(img,
|
||||||
&img->vid_dmv_top_surface);
|
&img->vid_dmv_top_surface);
|
||||||
|
avc_directmode.DirectMVBufferWriteAddress[1] = anv_image_address(img,
|
||||||
|
&img->vid_dmv_top_surface);
|
||||||
#else
|
#else
|
||||||
avc_directmode.DirectMVBufferWriteAddress = anv_image_address(img,
|
avc_directmode.DirectMVBufferWriteAddress = anv_image_address(img,
|
||||||
&img->vid_dmv_top_surface);
|
&img->vid_dmv_top_surface);
|
||||||
|
|||||||
Reference in new issue
Block a user