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

Commit 2b9428e2 authored by Patrik Jakobsson's avatar Patrik Jakobsson Committed by Greg Kroah-Hartman
Browse files

gma500: Mask out bits not part of the page table base address



Otherwise we can't ioremap the gtt and the screen gets garbled.

Signed-off-by: default avatarPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5ed836ac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -397,7 +397,7 @@ int psb_gtt_init(struct drm_device *dev, int resume)
	/* The root resource we allocate address space from */
	dev_priv->gtt_initialized = 1;

	pg->gtt_phys_start = dev_priv->pge_ctl;
	pg->gtt_phys_start = dev_priv->pge_ctl & PAGE_MASK;
	
	/*
	 *	FIXME: video mmu has hw bug to access 0x0D0000000,