projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12fb12f
)
drm/ast: invalidate page tables when pinning a BO
author
Dave Airlie
<airlied@redhat.com>
Wed, 7 Aug 2013 00:01:56 +0000
(10:01 +1000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 15 Aug 2013 05:59:09 +0000
(22:59 -0700)
commit
3ac65259328324de323dc006b52ff7c1a5b18d19
upstream.
same fix as cirrus and mgag200.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/ast/ast_ttm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/ast/ast_ttm.c
b/drivers/gpu/drm/ast/ast_ttm.c
index 09da3393c527188f85a5e5f42316c502788e1a93..d5902e21d4a3b4af541bda94ae7c8dfbb63dd935 100644
(file)
--- a/
drivers/gpu/drm/ast/ast_ttm.c
+++ b/
drivers/gpu/drm/ast/ast_ttm.c
@@
-348,6
+348,7
@@
int ast_bo_create(struct drm_device *dev, int size, int align,
astbo->gem.driver_private = NULL;
astbo->bo.bdev = &ast->ttm.bdev;
+ astbo->bo.bdev->dev_mapping = dev->dev_mapping;
ast_ttm_placement(astbo, TTM_PL_FLAG_VRAM | TTM_PL_FLAG_SYSTEM);