commit | 23f54beafee1c31c7f0127650ec2903d80b3dfeb | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Fri Mar 23 17:38:49 2012 +0000 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Mar 28 22:07:57 2012 +0200 |
tree | 1cbbd94881f1cc2aa6ff50376fe6bba015e72765 | |
parent | f2c9677be3158c31ba19f527e2be0f7a519e19d1 [diff] |
drm/i915: Initialise GTT MTRR to -1 Fixes a regression from 9e984bc1 (drm/i915: Don't do MTRR setup if PAT is enabled) where we left the MTRR as 0 and so tried to free a MTRR we did not own during unload. Reported-and-tested-by: Ben Widawsky <ben@bwidawsk.net> Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>