diff options
| author | Dave Airlie <[email protected]> | 2016-08-18 12:51:27 +1000 | 
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2016-08-18 12:51:27 +1000 | 
| commit | 91d62d9f30206be6f7749a0e6f7fa58c6d70c702 (patch) | |
| tree | 88050897d498267ceaf2f3ae1832168f5022247c /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | |
| parent | 93b1f14553a5f48104b639d28e41c2bb73c0dc37 (diff) | |
| parent | cab0b8d50e9bbef62c04067072c953433a87a9ff (diff) | |
Merge branch 'drm-fixes-4.8' of git://people.freedesktop.org/~agd5f/linux into drm-fixes
Single 64-bit gart size fix.
* 'drm-fixes-4.8' of git://people.freedesktop.org/~agd5f/linux:
  drm/amdgpu: Change GART offset to 64-bit
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | 4 | 
1 files changed, 2 insertions, 2 deletions
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)   * Unbinds the requested pages from the gart page table and   * replaces them with the dummy page (all asics).   */ -void amdgpu_gart_unbind(struct amdgpu_device *adev, unsigned offset, +void amdgpu_gart_unbind(struct amdgpu_device *adev, uint64_t offset,  			int pages)  {  	unsigned t; @@ -268,7 +268,7 @@ void amdgpu_gart_unbind(struct amdgpu_device *adev, unsigned offset,   * (all asics).   * Returns 0 for success, -EINVAL for failure.   */ -int amdgpu_gart_bind(struct amdgpu_device *adev, unsigned offset, +int amdgpu_gart_bind(struct amdgpu_device *adev, uint64_t offset,  		     int pages, struct page **pagelist, dma_addr_t *dma_addr,  		     uint32_t flags)  {  |