forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/gpu/drm/radeon/si_dma.c
....@@ -21,7 +21,7 @@
2121 *
2222 * Authors: Alex Deucher
2323 */
24
-#include <drm/drmP.h>
24
+
2525 #include "radeon.h"
2626 #include "radeon_asic.h"
2727 #include "radeon_trace.h"
....@@ -231,7 +231,7 @@
231231 struct radeon_fence *si_copy_dma(struct radeon_device *rdev,
232232 uint64_t src_offset, uint64_t dst_offset,
233233 unsigned num_gpu_pages,
234
- struct reservation_object *resv)
234
+ struct dma_resv *resv)
235235 {
236236 struct radeon_fence *fence;
237237 struct radeon_sync sync;