]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: fix m2mf copy to tiled gart
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 12 Nov 2013 12:34:08 +0000 (13:34 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 23 Jan 2014 03:38:25 +0000 (13:38 +1000)
commit8bc1d0fe5d63468c52dbc7ca7aa6cd6a42fd7210
tree936d958eb0c095fb41030bf77899e4bcb7f67b83
parent8fadc9798483e6c506eeb1a150793527ae77ab8c
drm/nouveau: fix m2mf copy to tiled gart

Commit 361dd5be0eab547 introduced tiled GART, but a linear copy is
still performed. This may result in errors on eviction, fix it by
checking tiling from memtype.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Cc: stable@vger.kernel.org #3.10+
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bo.c