radeonsi: don't make scanout resources linear except for cursors
authorMarek Olšák <marek.olsak@amd.com>
Fri, 9 Aug 2013 22:08:45 +0000 (00:08 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 16 Aug 2013 23:48:25 +0000 (01:48 +0200)
commit87b88f1daec466e282bb92abbd5754674acb4e54
treeba3ec465830554459e860a40bf1dd31a2c8588f5
parent89ca4a00f51f46d5b6ef739aa6aa1bcd6215ed4e
radeonsi: don't make scanout resources linear except for cursors

The surface allocator understands the scanout flag just fine.

This seems to improve performance for Ubuntu Unity on top of st/xorg
and it fixes the cursor.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/r600_texture.c