]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: Read the Base of Stolen Memory for 915gm
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 10 Feb 2013 19:38:13 +0000 (19:38 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 15 Feb 2013 09:30:40 +0000 (10:30 +0100)
commit0e91d24baab4a28bcb1293b218c354b1b12c3821
tree3a479338fb8763245419a3a643bca333e2c2c47e
parentf73f760725636b9d0c3786273e185b053516d1eb
drm/i915: Read the Base of Stolen Memory for 915gm

Reading the cspec pays dividends once again, as I found the 'Base of
Stolen Memory' config register so that we can skip the fragile
computation from Top of Usable Draw and use the real value provided by
the BIOS.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_stolen.c