drm/radeon: do not move bo to different placement at each cs
authorJerome Glisse <jglisse@redhat.com>
Thu, 29 Nov 2012 15:35:41 +0000 (10:35 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Dec 2012 19:34:07 +0000 (14:34 -0500)
commitd025e9e2b890db679f1246037bf65bd4be512627
tree6296d8181ef4db5403746d5d7dd074809b83e025
parenta636a9829175987e74ddd28a2e87ed17ff7adfdc
drm/radeon: do not move bo to different placement at each cs

The bo creation placement is where the bo will be. Instead of trying
to move bo at each command stream let this work to another worker
thread that will use more advance heuristic.

agd5f: remove leftover unused variable

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_object.c