r600g: align the tiling modes with what the DDX and kernel expects.
authorDave Airlie <airlied@redhat.com>
Tue, 1 Feb 2011 04:22:08 +0000 (14:22 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 1 Feb 2011 04:23:35 +0000 (14:23 +1000)
commita112cc283d2c62f895cdd6aceb976b3c7ef5f59d
tree3be875f67ec45f4638c354eee90a4de203b39f1c
parent8b5a50b31ca272ab8761e2a31025a54d8999ec06
r600g: align the tiling modes with what the DDX and kernel expects.

If we see a MACRO bit on r600g its 2D tiled,
if don't see a MACRO bit and we do see a MICRO bit then its 1D tiled.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/winsys/r600/drm/r600_bo.c