projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'amd-drm-next-5.12-2021-01-08' of https://gitlab.freedesktop.org/agd5f...
[platform/kernel/linux-starfive.git]
/
drivers
/
gpu
/
drm
/
amd
/
amdgpu
/
amdgpu_dma_buf.c
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c
index
0f4cf8d
..
47e0b48
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c
@@
-281,7
+281,7
@@
static struct sg_table *amdgpu_dma_buf_map(struct dma_buf_attachment *attach,
case TTM_PL_TT:
sgt = drm_prime_pages_to_sg(obj->dev,
bo->tbo.ttm->pages,
- bo->tbo.num_pages);
+ bo->tbo.
ttm->
num_pages);
if (IS_ERR(sgt))
return sgt;