projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12444d5
)
drm/gma500: fix things after get/put page helpers
author
Rob Clark
<robdclark@gmail.com>
Tue, 8 Oct 2013 20:31:59 +0000
(16:31 -0400)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 9 Oct 2013 06:04:32 +0000
(16:04 +1000)
Commit
8b9ba7a3
'drm/gma500: use gem get/put page helpers' was missing a
line, which resulted in garbled screen.
Signed-off-by: Rob Clark <robdclark@gmail.com>
Tested-by: Guillaume CLÉMENT <gclement@baobob.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/gma500/gtt.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/gma500/gtt.c
b/drivers/gpu/drm/gma500/gtt.c
index
92babac
..
2db731f
100644
(file)
--- a/
drivers/gpu/drm/gma500/gtt.c
+++ b/
drivers/gpu/drm/gma500/gtt.c
@@
-204,6
+204,7
@@
static int psb_gtt_attach_pages(struct gtt_range *gt)
if (IS_ERR(pages))
return PTR_ERR(pages);
+ gt->npage = gt->gem.size / PAGE_SIZE;
gt->pages = pages;
return 0;