Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
drivers
/
gpu
/
drm
/
amd
/
amdgpu
/
amdgpu_gart.c
diff --git
a/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
b/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
index
7312d72
..
22a613a
100644
(file)
--- a/
kernel/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
+++ b/
kernel/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).
*/
* 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, u
nsigned
offset,
+void amdgpu_gart_unbind(struct amdgpu_device *adev, u
int64_t
offset,
int pages)
{
unsigned t;
int pages)
{
unsigned t;
@@
-269,7
+269,7
@@
void amdgpu_gart_unbind(struct amdgpu_device *adev, unsigned offset,
* (all asics).
* Returns 0 for success, -EINVAL for failure.
*/
* (all asics).
* Returns 0 for success, -EINVAL for failure.
*/
-int amdgpu_gart_bind(struct amdgpu_device *adev, u
nsigned
offset,
+int amdgpu_gart_bind(struct amdgpu_device *adev, u
int64_t
offset,
int pages, struct page **pagelist, dma_addr_t *dma_addr,
uint32_t flags)
{
int pages, struct page **pagelist, dma_addr_t *dma_addr,
uint32_t flags)
{