Skip to content

Commit

Permalink
demmt: Add preliminary TURING_DMA_COPY support
Browse files Browse the repository at this point in the history
  • Loading branch information
Echelon9 committed Sep 20, 2018
1 parent 6a3b93b commit d3d6ed6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions demmt/object_state.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ struct gpu_object_decoder obj_decoders[] =
{ 0xc0b5, decode_gk104_copy_init, decode_gk104_copy_terse, NULL },
{ 0xc1b5, decode_gk104_copy_init, decode_gk104_copy_terse, NULL },
{ 0xc3b5, decode_gk104_copy_init, decode_gk104_copy_terse, NULL },
{ 0xc5b5, decode_gk104_copy_init, decode_gk104_copy_terse, NULL },
{ 0xa0c0, decode_gk104_compute_init, decode_gk104_compute_terse, decode_gk104_compute_verbose },
{ 0xa1c0, decode_gk104_compute_init, decode_gk104_compute_terse, decode_gk104_compute_verbose },
{ 0xb0c0, decode_gk104_compute_init, decode_gk104_compute_terse, decode_gk104_compute_verbose },
Expand Down
4 changes: 3 additions & 1 deletion demmt/pushbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,10 @@ uint64_t pushbuf_decode(struct pushbuf_decode_state *state, uint32_t data, char
handle = 0xc0b5;
else if (chipset < 0x140)
handle = 0xc1b5;
else
else if (chipset < 0x162)
handle = 0xc3b5;
else
handle = 0xc5b5;
}

if (handle)
Expand Down
1 change: 1 addition & 0 deletions rnndb/fifo/nv_object.xml
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
<value value="0xc0b5" name="GP100_COPY" variants="GP100:GP104"/>
<value value="0xc1b5" name="GP104_COPY" variants="GP104-"/>
<value value="0xc3b5" name="GV100_COPY" variants="GV100-"/>
<value value="0xc5b5" name="TU102_COPY" variants="TU102-"/>

<!-- non-graph objects *not* checked in hardware, but with functionality implemented in hardware - the values have meaning to driver only -->
<value value="0x3174" name="NV31_MPEG" variants="NV31:G84"/>
Expand Down

0 comments on commit d3d6ed6

Please sign in to comment.