drm/amdgpu:Fixed wrong emit frame size for enc
authorJames Zhu <James.Zhu@amd.com>
Tue, 27 Feb 2018 14:55:17 +0000 (09:55 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Feb 2018 20:16:48 +0000 (15:16 -0500)
commit8014e2d3fd640c892ed334e7de7af918e141c8ff
tree85c13149234db8742c3aa7e21e608368f80f2459
parenta4ef6edc8e87bee656a5feaedb0bb167acd9d360
drm/amdgpu:Fixed wrong emit frame size for enc

Emit frame size should match with corresponding function,
uvd_v6_0_enc_ring_emit_vm_flush has 5 amdgpu_ring_write

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c