diff options
author | Jerome Glisse <jglisse@redhat.com> | 2009-09-09 16:24:20 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-09-09 20:13:33 -0400 |
commit | 905b68223be18937159a29b354e6a332952ff952 (patch) | |
tree | 3a2e955e7beba517a33d5e0e7eeed350ce6a9a70 /drivers/gpu/drm/radeon/radeon.h | |
parent | a18d7ea15356679f58c2fafe2957786c5f7f9201 (diff) |
drm/radeon/kms: add R4XX mc register access helper.
Atombios will use the mc register access helper and R4XX hw have a
bigger mc range than R3XX so add R4XX specific mc register access
helper.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 24574bc0f2af..fa84c77577ab 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
@@ -936,4 +936,8 @@ static inline void radeon_ring_write(struct radeon_device *rdev, uint32_t v) | |||
936 | /* r100,rv100,rs100,rv200,rs200,r200,rv250,rs300,rv280 */ | 936 | /* r100,rv100,rs100,rv200,rs200,r200,rv250,rs300,rv280 */ |
937 | void r100_cp_disable(struct radeon_device *rdev); | 937 | void r100_cp_disable(struct radeon_device *rdev); |
938 | 938 | ||
939 | /* r420,r423,rv410 */ | ||
940 | u32 r420_mc_rreg(struct radeon_device *rdev, u32 reg); | ||
941 | void r420_mc_wreg(struct radeon_device *rdev, u32 reg, u32 v); | ||
942 | |||
939 | #endif | 943 | #endif |