aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2009-09-09 16:24:20 -0400
committerDave Airlie <airlied@redhat.com>2009-09-09 20:13:33 -0400
commit905b68223be18937159a29b354e6a332952ff952 (patch)
tree3a2e955e7beba517a33d5e0e7eeed350ce6a9a70 /drivers/gpu/drm/radeon/radeon.h
parenta18d7ea15356679f58c2fafe2957786c5f7f9201 (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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index 24574bc0f2a..fa84c77577a 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 */
937void r100_cp_disable(struct radeon_device *rdev); 937void r100_cp_disable(struct radeon_device *rdev);
938 938
939/* r420,r423,rv410 */
940u32 r420_mc_rreg(struct radeon_device *rdev, u32 reg);
941void r420_mc_wreg(struct radeon_device *rdev, u32 reg, u32 v);
942
939#endif 943#endif