drm/ttm: Don't clear page metadata of imported sg pages
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 5 Feb 2014 08:18:26 +0000 (09:18 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 5 Feb 2014 15:03:29 +0000 (16:03 +0100)
commit1b76af5ce8deb1c775ad1674bd249d782b5b13d9
tree201a27807dde2d1ab37d54c351c319e8fb5e5bc6
parentc66f854338253e603a4fb6817069ee23eacf0ae3
drm/ttm: Don't clear page metadata of imported sg pages

These page pointers shouldn't be visible to TTM in the first place, but
until we fix that up, don't clear the page metadata because that
will upset the exporter.

Reported-and-tested-by: Cristoph Haag <haagch.christoph@googleemail.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
drivers/gpu/drm/ttm/ttm_tt.c