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>
This commit is contained in:
Dave Airlie
2009-09-01 15:25:57 +10:00
parent 11670d3c93
commit 551ebd837c
11 changed files with 1712 additions and 440 deletions

View File

@@ -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;
};