drm/amdgpu: fix amdgpu_ring_write_multiple
authorChristian König <christian.koenig@amd.com>
Wed, 28 Jun 2017 11:50:07 +0000 (13:50 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jul 2017 15:05:56 +0000 (11:05 -0400)
commit369421cbfabf0650b73571d7d1c026fc3830e74d
treeb9b07c03b1766184e47d1db4cb1708c70df3068a
parente8110b1c9bdd3d76610a9783724233a570964d3c
drm/amdgpu: fix amdgpu_ring_write_multiple

Overwriting still used ring content has a low probability to cause
problems, not writing at all has 100% probability to cause problems.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h