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>
This commit is contained in:

committed by
Dave Airlie

parent
a18d7ea153
commit
905b68223b
@@ -936,4 +936,8 @@ static inline void radeon_ring_write(struct radeon_device *rdev, uint32_t v)
|
||||
/* r100,rv100,rs100,rv200,rs200,r200,rv250,rs300,rv280 */
|
||||
void r100_cp_disable(struct radeon_device *rdev);
|
||||
|
||||
/* r420,r423,rv410 */
|
||||
u32 r420_mc_rreg(struct radeon_device *rdev, u32 reg);
|
||||
void r420_mc_wreg(struct radeon_device *rdev, u32 reg, u32 v);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user