vmwgfx: Optimize the command submission resource list
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 4 Oct 2011 18:13:31 +0000 (20:13 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 5 Oct 2011 09:17:23 +0000 (10:17 +0100)
commitf18c8840bef4195e6f35298b7746563f10d2d502
tree2c573445d3ecc78376e613201e9dbb578de2dcc7
parente2fa3a76839ada0d788549607263a036aa654243
vmwgfx: Optimize the command submission resource list

Use a list for resources referenced during command submission, instead of
an array.
As long as we don't implement parallell command submission this works fine
and simplifies things a bit.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
This page took 0.027965 seconds and 5 git commands to generate.