drm/amdgpu: add patch to jpeg ring
authorBoyuan Zhang <boyuan.zhang@amd.com>
Wed, 30 May 2018 19:19:52 +0000 (15:19 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Jun 2018 17:20:37 +0000 (12:20 -0500)
commitb7fe681e35aaf8c844755297777bdceae030f6c3
tree34148b80d7bdc75c7d38dd69c7da10bcc913fea1
parentc8c1a1d2ef040d2661fc9c7f0b32aec5b1058ae3
drm/amdgpu: add patch to jpeg ring

Add patch commands to jepg ring by calling set patch ring function.

v2: remove modifications on max_dw, buf_mask and ptr_mask, since we are
now using extra_dw for jpeg ring.

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/vcn_v1_0.c