r600g/compute: Add statuses to the compute_memory_items
authorBruno Jiménez <brunojimen@gmail.com>
Wed, 18 Jun 2014 15:01:53 +0000 (17:01 +0200)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 20 Jun 2014 17:43:50 +0000 (13:43 -0400)
commite3dfe3f7b2323428d68851341f541944a89d1783
treec9c4dfb681ac04b5435e62790b601282a12b270d
parent9e491eb5d7d9257d5e8c70865a042c6a4f5480d3
r600g/compute: Add statuses to the compute_memory_items

These statuses will help track whether the items are mapped
or if they should be promoted to or demoted from the pool

v2: Use the new is_item_in_pool util function,
    as suggested by Tom Stellard

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/drivers/r600/compute_memory_pool.h
src/gallium/drivers/r600/evergreen_compute.c