aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-03-24 13:36:43 -0400
committerDave Airlie <airlied@redhat.com>2010-04-08 20:16:04 -0400
commitfe251e2fffa1ebc17c8e6e895b0374ae4e732fa5 (patch)
tree995060a10005d4a284bebcd0412fabfd0805de89 /drivers/gpu/drm/radeon/radeon.h
parent32fcdbf4084544c3d8fa413004d57e5dc6f2eefe (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.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 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,
1300extern void r600_vram_gtt_location(struct radeon_device *rdev, struct radeon_mc *mc); 1300extern void r600_vram_gtt_location(struct radeon_device *rdev, struct radeon_mc *mc);
1301extern bool r600_card_posted(struct radeon_device *rdev); 1301extern bool r600_card_posted(struct radeon_device *rdev);
1302extern void r600_cp_stop(struct radeon_device *rdev); 1302extern void r600_cp_stop(struct radeon_device *rdev);
1303extern int r600_cp_start(struct radeon_device *rdev);
1303extern void r600_ring_init(struct radeon_device *rdev, unsigned ring_size); 1304extern void r600_ring_init(struct radeon_device *rdev, unsigned ring_size);
1304extern int r600_cp_resume(struct radeon_device *rdev); 1305extern int r600_cp_resume(struct radeon_device *rdev);
1305extern void r600_cp_fini(struct radeon_device *rdev); 1306extern 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
1344extern void r700_cp_stop(struct radeon_device *rdev);
1345extern void r700_cp_fini(struct radeon_device *rdev);
1346
1343/* evergreen */ 1347/* evergreen */
1344struct evergreen_mc_save { 1348struct evergreen_mc_save {
1345 u32 vga_control[6]; 1349 u32 vga_control[6];