drm/amdgpu: drop drmP.h in gfx_v10_0.c
And fix the fallout. Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
3b90f6ecdf
commit
0a069bbe13
|
@ -20,8 +20,12 @@
|
||||||
* OTHER DEALINGS IN THE SOFTWARE.
|
* OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <linux/delay.h>
|
||||||
|
#include <linux/kernel.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_gfx.h"
|
#include "amdgpu_gfx.h"
|
||||||
#include "amdgpu_psp.h"
|
#include "amdgpu_psp.h"
|
||||||
|
@ -393,7 +397,7 @@ static int gfx_v10_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) {
|
||||||
if (amdgpu_emu_mode == 1)
|
if (amdgpu_emu_mode == 1)
|
||||||
|
@ -4551,7 +4555,7 @@ static int gfx_v10_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) {
|
||||||
|
|
Loading…
Reference in New Issue