.. | .. |
---|
27 | 27 | |
---|
28 | 28 | #include <linux/firmware.h> |
---|
29 | 29 | #include <linux/module.h> |
---|
30 | | -#include <drm/drmP.h> |
---|
| 30 | + |
---|
31 | 31 | #include <drm/drm.h> |
---|
32 | 32 | |
---|
33 | 33 | #include "radeon.h" |
---|
.. | .. |
---|
388 | 388 | ib.ptr[i] = cpu_to_le32(0x0); |
---|
389 | 389 | |
---|
390 | 390 | r = radeon_ib_schedule(rdev, &ib, NULL, false); |
---|
391 | | - if (r) { |
---|
| 391 | + if (r) |
---|
392 | 392 | DRM_ERROR("radeon: failed to schedule ib (%d).\n", r); |
---|
393 | | - } |
---|
| 393 | + |
---|
394 | 394 | |
---|
395 | 395 | if (fence) |
---|
396 | 396 | *fence = radeon_fence_ref(ib.fence); |
---|
.. | .. |
---|
771 | 771 | for (i = 0; i < rdev->usec_timeout; i++) { |
---|
772 | 772 | if (vce_v1_0_get_rptr(rdev, ring) != rptr) |
---|
773 | 773 | break; |
---|
774 | | - DRM_UDELAY(1); |
---|
| 774 | + udelay(1); |
---|
775 | 775 | } |
---|
776 | 776 | |
---|
777 | 777 | if (i < rdev->usec_timeout) { |
---|