drm/gma500: fix things after get/put page helpers
Subsystems (3)
PATCH 1/1 drm/gma500: fix things after get/put page helpers
Commit 8b9ba7a3 'drm/gma500: use gem get/put page helpers' was missing a line, which resulted in garbled screen.
Signed-off-by Rob Clark <[email protected]>
Tested-by Guillaume CLÉMENT <[email protected]>
--- drivers/gpu/drm/gma500/gtt.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/gma500/gtt.c +1 -0
@@ -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 ;
Signature · 6 lines
1.8.3.1 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel