r600g: start using drm minor version to enable things.
authorDave Airlie <airlied@redhat.com>
Tue, 1 Mar 2011 04:55:35 +0000 (14:55 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 1 Mar 2011 05:08:50 +0000 (15:08 +1000)
commit929be6eb95c33d5885a89b36dbc82db64c1344fe
tree157c587b2de38da0bb2206b8e9fe88f550b02ee1
parentea4a19c3920a81644138ba84be904b89397dd169
r600g: start using drm minor version to enable things.

If the drm minor version is > 9 (i.e. whats in drm-next),
we enable s3tc + texture tiling by default now.

this changes R600_FORCE_TILING to R600_TILING which can
be set to false to disable tiling on working drm.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/eg_state_inlines.h
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600.h
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_state_inlines.h
src/gallium/drivers/r600/r600_texture.c
src/gallium/winsys/r600/drm/r600_drm.c
src/gallium/winsys/r600/drm/r600_priv.h