Re: [Intel-gfx] [PATCH v4] drm/i915: Determine the stolen memory base address on gen2

2015-10-09 Thread Daniel Vetter
On Thu, Oct 08, 2015 at 12:08:20PM +0300, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > There isn't an explicit stolen memory base register on gen2. > Some old comment in the i915 code suggests we should get it via > max_low_pfn_mapped, but that's clearly a bad idea on my MGM. >

[Intel-gfx] [PATCH v4] drm/i915: Determine the stolen memory base address on gen2

2015-10-08 Thread ville . syrjala
From: Ville Syrjälä There isn't an explicit stolen memory base register on gen2. Some old comment in the i915 code suggests we should get it via max_low_pfn_mapped, but that's clearly a bad idea on my MGM. The e820 map in said machine looks like this: [0.00] BIOS-e820: [mem 0x000