diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-03-24 13:36:43 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-04-08 20:16:04 -0400 |
commit | fe251e2fffa1ebc17c8e6e895b0374ae4e732fa5 (patch) | |
tree | 995060a10005d4a284bebcd0412fabfd0805de89 /drivers/gpu/drm/radeon/radeon.h | |
parent | 32fcdbf4084544c3d8fa413004d57e5dc6f2eefe (diff) |
drm/radeon/kms/evergreen: setup and enable the CP
The command processor (CP) fetches command buffers and
feeds the GPU. This patch requires the evergreen
family me and pfp ucode files.
Signed-off-by: Alex Deucher <alexdeucher@gmail.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 a77a86203996..acf21d7e3cb2 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
@@ -1300,6 +1300,7 @@ extern void rs690_line_buffer_adjust(struct radeon_device *rdev, | |||
1300 | extern void r600_vram_gtt_location(struct radeon_device *rdev, struct radeon_mc *mc); | 1300 | extern void r600_vram_gtt_location(struct radeon_device *rdev, struct radeon_mc *mc); |
1301 | extern bool r600_card_posted(struct radeon_device *rdev); | 1301 | extern bool r600_card_posted(struct radeon_device *rdev); |
1302 | extern void r600_cp_stop(struct radeon_device *rdev); | 1302 | extern void r600_cp_stop(struct radeon_device *rdev); |
1303 | extern int r600_cp_start(struct radeon_device *rdev); | ||
1303 | extern void r600_ring_init(struct radeon_device *rdev, unsigned ring_size); | 1304 | extern void r600_ring_init(struct radeon_device *rdev, unsigned ring_size); |
1304 | extern int r600_cp_resume(struct radeon_device *rdev); | 1305 | extern int r600_cp_resume(struct radeon_device *rdev); |
1305 | extern void r600_cp_fini(struct radeon_device *rdev); | 1306 | extern void r600_cp_fini(struct radeon_device *rdev); |
@@ -1340,6 +1341,9 @@ extern void r600_hdmi_update_audio_settings(struct drm_encoder *encoder, | |||
1340 | uint8_t status_bits, | 1341 | uint8_t status_bits, |
1341 | uint8_t category_code); | 1342 | uint8_t category_code); |
1342 | 1343 | ||
1344 | extern void r700_cp_stop(struct radeon_device *rdev); | ||
1345 | extern void r700_cp_fini(struct radeon_device *rdev); | ||
1346 | |||
1343 | /* evergreen */ | 1347 | /* evergreen */ |
1344 | struct evergreen_mc_save { | 1348 | struct evergreen_mc_save { |
1345 | u32 vga_control[6]; | 1349 | u32 vga_control[6]; |