]> git.baikalelectronics.ru Git - kernel.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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Jun 2013 12:16:28 +0000 (08:16 -0400)
commita4e91ccd5ef94f2580577530cf7bff28fe449daa
treee88a1b8b29a4f3bf703a24356bbdb181e14d0da1
parent032ae257c92bdf9497bb0347eca8ea0462db8b42
drm/radeon: do not try to uselessly update virtual memory pagetable

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

Cc: stable@kernel.org
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_gart.c