Commit 75589f49 authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu: drop drmP.h from sdma_v5_0.c

And fix the fallout.
Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e9eea902
...@@ -21,8 +21,11 @@ ...@@ -21,8 +21,11 @@
* *
*/ */
#include <linux/delay.h>
#include <linux/firmware.h> #include <linux/firmware.h>
#include <drm/drmP.h> #include <linux/module.h>
#include <linux/pci.h>
#include "amdgpu.h" #include "amdgpu.h"
#include "amdgpu_ucode.h" #include "amdgpu_ucode.h"
#include "amdgpu_trace.h" #include "amdgpu_trace.h"
...@@ -882,7 +885,7 @@ static int sdma_v5_0_ring_test_ring(struct amdgpu_ring *ring) ...@@ -882,7 +885,7 @@ static int sdma_v5_0_ring_test_ring(struct amdgpu_ring *ring)
if (amdgpu_emu_mode == 1) if (amdgpu_emu_mode == 1)
msleep(1); msleep(1);
else else
DRM_UDELAY(1); udelay(1);
} }
if (i < adev->usec_timeout) { if (i < adev->usec_timeout) {
...@@ -1337,7 +1340,7 @@ static int sdma_v5_0_ring_preempt_ib(struct amdgpu_ring *ring) ...@@ -1337,7 +1340,7 @@ static int sdma_v5_0_ring_preempt_ib(struct amdgpu_ring *ring)
if (ring->trail_seq == if (ring->trail_seq ==
le32_to_cpu(*(ring->trail_fence_cpu_addr))) le32_to_cpu(*(ring->trail_fence_cpu_addr)))
break; break;
DRM_UDELAY(1); udelay(1);
} }
if (i >= adev->usec_timeout) { if (i >= adev->usec_timeout) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment