提交 b9aa8510 编写于 作者: R Rob Clark 提交者: Dave Airlie

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: NRob Clark <robdclark@gmail.com>
Tested-by: NGuillaume CLÉMENT <gclement@baobob.org>
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 12444d5f
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册