diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2011-02-18 11:59:19 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-02-22 19:35:20 -0500 |
commit | 3574dda4851d2058841ae9e6b583e54cf52c71fa (patch) | |
tree | f94c760cda00223ace0ae45a2c8225b6eecbc79c /drivers/gpu/drm/radeon/radeon.h | |
parent | 31c3603d83a774df4acdfe3a89ce64719d0db0d8 (diff) |
radeon: consolidate asic-specific function decls for r600 & later
Now all the asic specific stuff ist mostly hid in radeon_asic.*
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
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 | 61 |
1 files changed, 3 insertions, 58 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 975f4a10cfaf..9070f556fc9d 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
@@ -1459,59 +1459,12 @@ extern void radeon_gtt_location(struct radeon_device *rdev, struct radeon_mc *mc | |||
1459 | extern int radeon_resume_kms(struct drm_device *dev); | 1459 | extern int radeon_resume_kms(struct drm_device *dev); |
1460 | extern int radeon_suspend_kms(struct drm_device *dev, pm_message_t state); | 1460 | extern int radeon_suspend_kms(struct drm_device *dev, pm_message_t state); |
1461 | 1461 | ||
1462 | /* r600, rv610, rv630, rv620, rv635, rv670, rs780, rs880 */ | 1462 | /* |
1463 | extern bool r600_card_posted(struct radeon_device *rdev); | 1463 | * r600 functions used by radeon_encoder.c |
1464 | extern void r600_cp_stop(struct radeon_device *rdev); | 1464 | */ |
1465 | extern int r600_cp_start(struct radeon_device *rdev); | ||
1466 | extern void r600_ring_init(struct radeon_device *rdev, unsigned ring_size); | ||
1467 | extern int r600_cp_resume(struct radeon_device *rdev); | ||
1468 | extern void r600_cp_fini(struct radeon_device *rdev); | ||
1469 | extern int r600_count_pipe_bits(uint32_t val); | ||
1470 | extern int r600_mc_wait_for_idle(struct radeon_device *rdev); | ||
1471 | extern int r600_pcie_gart_init(struct radeon_device *rdev); | ||
1472 | extern void r600_pcie_gart_tlb_flush(struct radeon_device *rdev); | ||
1473 | extern int r600_ib_test(struct radeon_device *rdev); | ||
1474 | extern int r600_ring_test(struct radeon_device *rdev); | ||
1475 | extern void r600_scratch_init(struct radeon_device *rdev); | ||
1476 | extern int r600_blit_init(struct radeon_device *rdev); | ||
1477 | extern void r600_blit_fini(struct radeon_device *rdev); | ||
1478 | extern int r600_init_microcode(struct radeon_device *rdev); | ||
1479 | extern int r600_asic_reset(struct radeon_device *rdev); | ||
1480 | /* r600 irq */ | ||
1481 | extern int r600_irq_init(struct radeon_device *rdev); | ||
1482 | extern void r600_irq_fini(struct radeon_device *rdev); | ||
1483 | extern void r600_ih_ring_init(struct radeon_device *rdev, unsigned ring_size); | ||
1484 | extern int r600_irq_set(struct radeon_device *rdev); | ||
1485 | extern void r600_irq_suspend(struct radeon_device *rdev); | ||
1486 | extern void r600_disable_interrupts(struct radeon_device *rdev); | ||
1487 | extern void r600_rlc_stop(struct radeon_device *rdev); | ||
1488 | /* r600 audio */ | ||
1489 | extern int r600_audio_init(struct radeon_device *rdev); | ||
1490 | extern int r600_audio_tmds_index(struct drm_encoder *encoder); | ||
1491 | extern void r600_audio_set_clock(struct drm_encoder *encoder, int clock); | ||
1492 | extern int r600_audio_channels(struct radeon_device *rdev); | ||
1493 | extern int r600_audio_bits_per_sample(struct radeon_device *rdev); | ||
1494 | extern int r600_audio_rate(struct radeon_device *rdev); | ||
1495 | extern uint8_t r600_audio_status_bits(struct radeon_device *rdev); | ||
1496 | extern uint8_t r600_audio_category_code(struct radeon_device *rdev); | ||
1497 | extern void r600_audio_schedule_polling(struct radeon_device *rdev); | ||
1498 | extern void r600_audio_enable_polling(struct drm_encoder *encoder); | ||
1499 | extern void r600_audio_disable_polling(struct drm_encoder *encoder); | ||
1500 | extern void r600_audio_fini(struct radeon_device *rdev); | ||
1501 | extern void r600_hdmi_init(struct drm_encoder *encoder); | ||
1502 | extern void r600_hdmi_enable(struct drm_encoder *encoder); | 1465 | extern void r600_hdmi_enable(struct drm_encoder *encoder); |
1503 | extern void r600_hdmi_disable(struct drm_encoder *encoder); | 1466 | extern void r600_hdmi_disable(struct drm_encoder *encoder); |
1504 | extern void r600_hdmi_setmode(struct drm_encoder *encoder, struct drm_display_mode *mode); | 1467 | extern void r600_hdmi_setmode(struct drm_encoder *encoder, struct drm_display_mode *mode); |
1505 | extern int r600_hdmi_buffer_status_changed(struct drm_encoder *encoder); | ||
1506 | extern void r600_hdmi_update_audio_settings(struct drm_encoder *encoder); | ||
1507 | |||
1508 | extern void r700_vram_gtt_location(struct radeon_device *rdev, struct radeon_mc *mc); | ||
1509 | extern void r700_cp_stop(struct radeon_device *rdev); | ||
1510 | extern void r700_cp_fini(struct radeon_device *rdev); | ||
1511 | extern void evergreen_disable_interrupt_state(struct radeon_device *rdev); | ||
1512 | extern int evergreen_irq_set(struct radeon_device *rdev); | ||
1513 | extern int evergreen_blit_init(struct radeon_device *rdev); | ||
1514 | extern void evergreen_blit_fini(struct radeon_device *rdev); | ||
1515 | 1468 | ||
1516 | extern int ni_init_microcode(struct radeon_device *rdev); | 1469 | extern int ni_init_microcode(struct radeon_device *rdev); |
1517 | extern int btc_mc_load_microcode(struct radeon_device *rdev); | 1470 | extern int btc_mc_load_microcode(struct radeon_device *rdev); |
@@ -1523,14 +1476,6 @@ extern int radeon_acpi_init(struct radeon_device *rdev); | |||
1523 | static inline int radeon_acpi_init(struct radeon_device *rdev) { return 0; } | 1476 | static inline int radeon_acpi_init(struct radeon_device *rdev) { return 0; } |
1524 | #endif | 1477 | #endif |
1525 | 1478 | ||
1526 | /* evergreen */ | ||
1527 | struct evergreen_mc_save { | ||
1528 | u32 vga_control[6]; | ||
1529 | u32 vga_render_control; | ||
1530 | u32 vga_hdp_control; | ||
1531 | u32 crtc_control[6]; | ||
1532 | }; | ||
1533 | |||
1534 | #include "radeon_object.h" | 1479 | #include "radeon_object.h" |
1535 | 1480 | ||
1536 | #endif | 1481 | #endif |