]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdfd9d65280925fa1e560806c72d70a6273d1f266
tree6296d8181ef4db5403746d5d7dd074809b83e025
parentf27c31324ce4963d2dabdff8fe0db5996905b5e3
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