sna: Be a little more assertive in retiring after set-domain
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 28 Jan 2014 16:30:47 +0000 (16:30 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 28 Jan 2014 16:40:45 +0000 (16:40 +0000)
commit8b0ebebcab21647348f769c25ca0c1d81d169e75
treecd8ca78e79100473fc9d5f437aa27aa24c4f712e
parentb99c8cbefdd8fec686ad81fbffebb70d43880779
sna: Be a little more assertive in retiring after set-domain

After a successful set-domain for writing with the CPU, we know that the
buffer is idle so remove it from our request tracking. (External clients
complicate matters in that they may keep the bo active even after our
set-domain.) On the contrary, because of read-read optimisations a bo
may still be active after a set-domain for reading by the CPU, in which
we need to remain conservative in retiring the bo.

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