]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/radeon: do not try to uselessly update virtual memory pagetable
authorJerome Glisse <jglisse@redhat.com>
Thu, 6 Jun 2013 16:41:17 +0000 (12:41 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jun 2013 17:38:45 +0000 (10:38 -0700)
commit7811fd799beebd19076ec84ea160f0f14bf40f7d
tree3d1aa4aa3e29d592bc4f01a54c1c2029c29dd5bb
parent258378e9b7cd4e08cdbc1a72c101e0886cbb27f1
drm/radeon: do not try to uselessly update virtual memory pagetable

commit 3813f5ca9ab7a00e80a17aab34f155453c66c78a upstream.

If a buffer is never bound to a virtual memory pagetable than don't try
to unbind it. Only drawback is that we don't update the pagetable when
unbinding the ib pool buffer which is fine because it only happens at
suspend or module unload/shutdown.

Fixes spurious messages about buffers without VM mappings. E.g.:
radeon 0000:01:00.0: bo ffff88020afac400 don't has a mapping in vm ffff88021ca2b900

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_gart.c