diff options
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4 | ||||
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 8ebc5f1eb4c0..8c704c86597b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
| @@ -646,9 +646,9 @@ int amdgpu_gart_table_vram_pin(struct amdgpu_device *adev); | |||
| 646 | void amdgpu_gart_table_vram_unpin(struct amdgpu_device *adev); | 646 | void amdgpu_gart_table_vram_unpin(struct amdgpu_device *adev); |
| 647 | int amdgpu_gart_init(struct amdgpu_device *adev); | 647 | int amdgpu_gart_init(struct amdgpu_device *adev); |
| 648 | void amdgpu_gart_fini(struct amdgpu_device *adev); | 648 | void amdgpu_gart_fini(struct amdgpu_device *adev); |
| 649 | void amdgpu_gart_unbind(struct amdgpu_device *adev, unsigned offset, | 649 | void amdgpu_gart_unbind(struct amdgpu_device *adev, uint64_t offset, |
| 650 | int pages); | 650 | int pages); |
| 651 | int amdgpu_gart_bind(struct amdgpu_device *adev, unsigned offset, | 651 | int amdgpu_gart_bind(struct amdgpu_device *adev, uint64_t offset, |
| 652 | int pages, struct page **pagelist, | 652 | int pages, struct page **pagelist, |
| 653 | dma_addr_t *dma_addr, uint32_t flags); | 653 | dma_addr_t *dma_addr, uint32_t flags); |
| 654 | 654 | ||
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c index 921bce2df0b0..0feea347f680 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | |||
| @@ -221,7 +221,7 @@ void amdgpu_gart_table_vram_free(struct amdgpu_device *adev) | |||
| 221 | * Unbinds the requested pages from the gart page table and | 221 | * Unbinds the requested pages from the gart page table and |
| 222 | * replaces them with the dummy page (all asics). | 222 | * replaces them with the dummy page (all asics). |
| 223 | */ | 223 | */ |
| 224 | void amdgpu_gart_unbind(struct amdgpu_device *adev, unsigned offset, | 224 | void amdgpu_gart_unbind(struct amdgpu_device *adev, uint64_t offset, |
| 225 | int pages) | 225 | int pages) |
| 226 | { | 226 | { |
| 227 | unsigned t; | 227 | unsigned t; |
| @@ -268,7 +268,7 @@ void amdgpu_gart_unbind(struct amdgpu_device *adev, unsigned offset, | |||
| 268 | * (all asics). | 268 | * (all asics). |
| 269 | * Returns 0 for success, -EINVAL for failure. | 269 | * Returns 0 for success, -EINVAL for failure. |
| 270 | */ | 270 | */ |
| 271 | int amdgpu_gart_bind(struct amdgpu_device *adev, unsigned offset, | 271 | int amdgpu_gart_bind(struct amdgpu_device *adev, uint64_t offset, |
| 272 | int pages, struct page **pagelist, dma_addr_t *dma_addr, | 272 | int pages, struct page **pagelist, dma_addr_t *dma_addr, |
| 273 | uint32_t flags) | 273 | uint32_t flags) |
| 274 | { | 274 | { |
