diff options
author | Dave Airlie <airlied@redhat.com> | 2011-03-01 14:55:35 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-03-01 15:08:50 +1000 |
commit | 929be6eb95c33d5885a89b36dbc82db64c1344fe (patch) | |
tree | 157c587b2de38da0bb2206b8e9fe88f550b02ee1 /src/gallium/winsys/r600/drm/r600_priv.h | |
parent | ea4a19c3920a81644138ba84be904b89397dd169 (diff) |
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>
Diffstat (limited to 'src/gallium/winsys/r600/drm/r600_priv.h')
-rw-r--r-- | src/gallium/winsys/r600/drm/r600_priv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/r600/drm/r600_priv.h b/src/gallium/winsys/r600/drm/r600_priv.h index 2d91cd97d6..41c5ee02c3 100644 --- a/src/gallium/winsys/r600/drm/r600_priv.h +++ b/src/gallium/winsys/r600/drm/r600_priv.h @@ -50,6 +50,8 @@ struct radeon { unsigned *cfence; struct r600_bo *fence_bo; unsigned clock_crystal_freq; + unsigned num_backends; + unsigned minor_version; }; struct r600_reg { |