projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecaac1c
)
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
Dave Airlie
<airlied@redhat.com>
Wed, 7 Aug 2013 00:01:56 +0000
(10:01 +1000)
same fix as cirrus and mgag200.
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
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 98d670825a1a115a43fd5c6d49bd494ce839c94b..6e8887fe6c1b44fb83d09df82d10d50483924de5 100644
(file)
--- a/
drivers/gpu/drm/ast/ast_ttm.c
+++ b/
drivers/gpu/drm/ast/ast_ttm.c
@@
-323,6
+323,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);