Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9aa8510 authored by Rob Clark's avatar Rob Clark Committed by Dave Airlie
Browse files

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -204,6 +204,7 @@ static int psb_gtt_attach_pages(struct gtt_range *gt)
	if (IS_ERR(pages))
	if (IS_ERR(pages))
		return PTR_ERR(pages);
		return PTR_ERR(pages);


	gt->npage = gt->gem.size / PAGE_SIZE;
	gt->pages = pages;
	gt->pages = pages;


	return 0;
	return 0;