Skip to content

Commit 7ea34ea

Browse files
Boyz-Radeonalexdeucher
authored andcommitted
drm/amdgpu: fix emit frame size and comments for jpeg
Fix vcn jpeg ring emit fence size in dword, and fix the naming in comments. Signed-off-by: Boyuan Zhang <[email protected]> Acked-by: Leo Liu <leo.liu at amd.com> Signed-off-by: Alex Deucher <[email protected]>
1 parent 36a12bd commit 7ea34ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1738,10 +1738,10 @@ static const struct amdgpu_ring_funcs vcn_v1_0_jpeg_ring_vm_funcs = {
17381738
6 + 6 + /* hdp invalidate / flush */
17391739
SOC15_FLUSH_GPU_TLB_NUM_WREG * 6 +
17401740
SOC15_FLUSH_GPU_TLB_NUM_REG_WAIT * 8 +
1741-
8 + /* vcn_v1_0_dec_ring_emit_vm_flush */
1742-
14 + 14 + /* vcn_v1_0_dec_ring_emit_fence x2 vm fence */
1741+
8 + /* vcn_v1_0_jpeg_ring_emit_vm_flush */
1742+
26 + 26 + /* vcn_v1_0_jpeg_ring_emit_fence x2 vm fence */
17431743
6,
1744-
.emit_ib_size = 22, /* vcn_v1_0_dec_ring_emit_ib */
1744+
.emit_ib_size = 22, /* vcn_v1_0_jpeg_ring_emit_ib */
17451745
.emit_ib = vcn_v1_0_jpeg_ring_emit_ib,
17461746
.emit_fence = vcn_v1_0_jpeg_ring_emit_fence,
17471747
.emit_vm_flush = vcn_v1_0_jpeg_ring_emit_vm_flush,

0 commit comments

Comments
 (0)