sna: Update allocation of CPU bo to avoid creating active buffers
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 29 Jun 2014 06:02:44 +0000 (07:02 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 29 Jun 2014 06:15:20 +0000 (07:15 +0100)
commit6b906ae742ec96eeef403191d3cdded6a23a70b7
tree957383a2b33410fc7864d1c296f9ac11c6f85d78
parentb961d7323369284ea2c3db47d30c27ffe01a9040
sna: Update allocation of CPU bo to avoid creating active buffers

Since we now prefer CPU detiling, exactly when we want active/inactive
buffers is a little more complex - and we also need to take into account
when we want to use the CPU bo as a render target.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_accel.c