OSDN Git Service

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 19:18:05 +0000 (14:18 -0500)
commit60b431b5c165514729ad0a47e18b0f99783dfc38
tree3d30f6f74762cfe95f0060dc3274cde66801e066
parentfe19b862f18ec09c34dc09e8134e08dbfd601876
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