diff options
author | Dave Airlie <airlied@redhat.com> | 2009-09-01 15:25:57 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-09-08 08:54:31 +1000 |
commit | 551ebd837c75fc75df81811a18b7136c39cab487 (patch) | |
tree | 9703fd46cf9ad170012754f984375db37d2bf818 /drivers/gpu/drm/radeon/radeon.h | |
parent | 11670d3c93210793562748d83502ecbef4034765 (diff) |
drm/radeon/kms: add rn50/r100/r200 CS tracker.
This adds the command stream checker for the RN50, R100 and R200 cards.
It stops any access to 3D registers on RN50, and does checks
on buffer sizes on the r100/r200 cards. It also fixes some texture
sizing checks on r300.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 149974d13aa..6c35c3c2919 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -604,8 +604,14 @@ struct radeon_asic { void (*bandwidth_update)(struct radeon_device *rdev); }; +struct r100_asic { + const unsigned *reg_safe_bm; + unsigned reg_safe_bm_size; +}; + union radeon_asic_config { struct r300_asic r300; + struct r100_asic r100; }; |