drm/amdgpu: define and add extra dword for jpeg ring
authorBoyuan Zhang <boyuan.zhang@amd.com>
Fri, 1 Jun 2018 16:30:17 +0000 (12:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Jun 2018 17:20:37 +0000 (12:20 -0500)
commitc8c1a1d2ef040d2661fc9c7f0b32aec5b1058ae3
treec1cc92ef357d0bf8c8960d6cec55fff1dcec47c2
parent8a998052f29b811497b004b87dfe1ea1dfef75d1
drm/amdgpu: define and add extra dword for jpeg ring

Define extra dword for jpeg ring. Jpeg ring will allocate extra dword to store
the patch commands for fixing the known issue.

v2: dropping extra_dw for rings other than jpeg.

Signed-off-by: Boyuan Zhang <boyuan.zhang@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/amdgpu_ring.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c