diff options
author | Alex Deucher | 2017-04-17 22:32:12 +0200 |
---|---|---|
committer | Alex Deucher | 2017-05-24 23:40:13 +0200 |
commit | b98724db7f9bb7b0b0e253f903249894f09c01ee (patch) | |
tree | 84ef2828dcfb0105e34f80431042000af41b43bd /drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | |
parent | drm/amdgpu/gfx9: create mqd backups (diff) | |
download | kernel-qcow2-linux-b98724db7f9bb7b0b0e253f903249894f09c01ee.tar.gz kernel-qcow2-linux-b98724db7f9bb7b0b0e253f903249894f09c01ee.tar.xz kernel-qcow2-linux-b98724db7f9bb7b0b0e253f903249894f09c01ee.zip |
drm/amdgpu/gfx9: clear the compute ring on reset
To be consistent with gfx8.
Reviewed-by: monk liu <monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c index 526e03852120..70e9a2318e2b 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c @@ -2149,6 +2149,7 @@ static int gfx_v9_0_kiq_init_queue(struct amdgpu_ring *ring) /* reset ring buffer */ ring->wptr = 0; + amdgpu_ring_clear_ring(ring); if (is_kiq) { mutex_lock(&adev->srbm_mutex); |