summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/cik_sdma.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-05 08:09:04 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-05 08:09:04 +0200
commit2f5bb02ff22414ce156cacb163dd594b017af357 (patch)
tree5213feb307367fdffb993ed03ed3094ec92021ea /drivers/gpu/drm/amd/amdgpu/cik_sdma.c
parent2c507e464f791327c94d17a0137f00b4717744fc (diff)
parentc6935931c1894ff857616ff8549b61236a19148f (diff)
downloadlinux-2f5bb02ff22414ce156cacb163dd594b017af357.tar.gz
linux-2f5bb02ff22414ce156cacb163dd594b017af357.tar.bz2
linux-2f5bb02ff22414ce156cacb163dd594b017af357.zip
Merge 4.8-rc5 into driver-core-next
We want the sysfs and kernfs in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/cik_sdma.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/cik_sdma.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/cik_sdma.c b/drivers/gpu/drm/amd/amdgpu/cik_sdma.c
index ee6466912497..77fdd9911c3c 100644
--- a/drivers/gpu/drm/amd/amdgpu/cik_sdma.c
+++ b/drivers/gpu/drm/amd/amdgpu/cik_sdma.c
@@ -52,6 +52,7 @@ static void cik_sdma_set_ring_funcs(struct amdgpu_device *adev);
static void cik_sdma_set_irq_funcs(struct amdgpu_device *adev);
static void cik_sdma_set_buffer_funcs(struct amdgpu_device *adev);
static void cik_sdma_set_vm_pte_funcs(struct amdgpu_device *adev);
+static int cik_sdma_soft_reset(void *handle);
MODULE_FIRMWARE("radeon/bonaire_sdma.bin");
MODULE_FIRMWARE("radeon/bonaire_sdma1.bin");
@@ -1037,6 +1038,8 @@ static int cik_sdma_resume(void *handle)
{
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
+ cik_sdma_soft_reset(handle);
+
return cik_sdma_hw_init(adev);
}