Commit b9aa8510 authored by Rob Clark's avatar Rob Clark Committed by 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: default avatarRob Clark <robdclark@gmail.com>
Tested-by: default avatarGuillaume CLÉMENT <gclement@baobob.org>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment