aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_asic.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2014-05-27 10:49:20 -0400
committerAlex Deucher <alexander.deucher@amd.com>2014-06-02 10:25:11 -0400
commit157fa14dc4065ce7536473e643c95385d87bd580 (patch)
tree5b8dc7b22503c1e8009a9a01b39e54b1ece9bf1a /drivers/gpu/drm/radeon/radeon_asic.h
parent75f36d861957cb05b7889af24c8cd4a789398304 (diff)
drm/radeon: split page flip and pending callback
Signed-off-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_asic.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon_asic.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.h b/drivers/gpu/drm/radeon/radeon_asic.h
index 953607d69eb1..0eab015b2cfb 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.h
+++ b/drivers/gpu/drm/radeon/radeon_asic.h
@@ -135,7 +135,9 @@ extern void r100_pm_prepare(struct radeon_device *rdev);
135extern void r100_pm_finish(struct radeon_device *rdev); 135extern void r100_pm_finish(struct radeon_device *rdev);
136extern void r100_pm_init_profile(struct radeon_device *rdev); 136extern void r100_pm_init_profile(struct radeon_device *rdev);
137extern void r100_pm_get_dynpm_state(struct radeon_device *rdev); 137extern void r100_pm_get_dynpm_state(struct radeon_device *rdev);
138extern u32 r100_page_flip(struct radeon_device *rdev, int crtc, u64 crtc_base); 138extern void r100_page_flip(struct radeon_device *rdev, int crtc,
139 u64 crtc_base);
140extern bool r100_page_flip_pending(struct radeon_device *rdev, int crtc);
139extern void r100_wait_for_vblank(struct radeon_device *rdev, int crtc); 141extern void r100_wait_for_vblank(struct radeon_device *rdev, int crtc);
140extern int r100_mc_wait_for_idle(struct radeon_device *rdev); 142extern int r100_mc_wait_for_idle(struct radeon_device *rdev);
141 143
@@ -239,7 +241,9 @@ void rs600_hpd_set_polarity(struct radeon_device *rdev,
239extern void rs600_pm_misc(struct radeon_device *rdev); 241extern void rs600_pm_misc(struct radeon_device *rdev);
240extern void rs600_pm_prepare(struct radeon_device *rdev); 242extern void rs600_pm_prepare(struct radeon_device *rdev);
241extern void rs600_pm_finish(struct radeon_device *rdev); 243extern void rs600_pm_finish(struct radeon_device *rdev);
242extern u32 rs600_page_flip(struct radeon_device *rdev, int crtc, u64 crtc_base); 244extern void rs600_page_flip(struct radeon_device *rdev, int crtc,
245 u64 crtc_base);
246extern bool rs600_page_flip_pending(struct radeon_device *rdev, int crtc);
243void rs600_set_safe_registers(struct radeon_device *rdev); 247void rs600_set_safe_registers(struct radeon_device *rdev);
244extern void avivo_wait_for_vblank(struct radeon_device *rdev, int crtc); 248extern void avivo_wait_for_vblank(struct radeon_device *rdev, int crtc);
245extern int rs600_mc_wait_for_idle(struct radeon_device *rdev); 249extern int rs600_mc_wait_for_idle(struct radeon_device *rdev);
@@ -448,7 +452,8 @@ void rv770_fini(struct radeon_device *rdev);
448int rv770_suspend(struct radeon_device *rdev); 452int rv770_suspend(struct radeon_device *rdev);
449int rv770_resume(struct radeon_device *rdev); 453int rv770_resume(struct radeon_device *rdev);
450void rv770_pm_misc(struct radeon_device *rdev); 454void rv770_pm_misc(struct radeon_device *rdev);
451u32 rv770_page_flip(struct radeon_device *rdev, int crtc, u64 crtc_base); 455void rv770_page_flip(struct radeon_device *rdev, int crtc, u64 crtc_base);
456bool rv770_page_flip_pending(struct radeon_device *rdev, int crtc);
452void r700_vram_gtt_location(struct radeon_device *rdev, struct radeon_mc *mc); 457void r700_vram_gtt_location(struct radeon_device *rdev, struct radeon_mc *mc);
453void r700_cp_stop(struct radeon_device *rdev); 458void r700_cp_stop(struct radeon_device *rdev);
454void r700_cp_fini(struct radeon_device *rdev); 459void r700_cp_fini(struct radeon_device *rdev);
@@ -516,7 +521,9 @@ extern void sumo_pm_init_profile(struct radeon_device *rdev);
516extern void btc_pm_init_profile(struct radeon_device *rdev); 521extern void btc_pm_init_profile(struct radeon_device *rdev);
517int sumo_set_uvd_clocks(struct radeon_device *rdev, u32 vclk, u32 dclk); 522int sumo_set_uvd_clocks(struct radeon_device *rdev, u32 vclk, u32 dclk);
518int evergreen_set_uvd_clocks(struct radeon_device *rdev, u32 vclk, u32 dclk); 523int evergreen_set_uvd_clocks(struct radeon_device *rdev, u32 vclk, u32 dclk);
519extern u32 evergreen_page_flip(struct radeon_device *rdev, int crtc, u64 crtc_base); 524extern void evergreen_page_flip(struct radeon_device *rdev, int crtc,
525 u64 crtc_base);
526extern bool evergreen_page_flip_pending(struct radeon_device *rdev, int crtc);
520extern void dce4_wait_for_vblank(struct radeon_device *rdev, int crtc); 527extern void dce4_wait_for_vblank(struct radeon_device *rdev, int crtc);
521void evergreen_disable_interrupt_state(struct radeon_device *rdev); 528void evergreen_disable_interrupt_state(struct radeon_device *rdev);
522int evergreen_mc_wait_for_idle(struct radeon_device *rdev); 529int evergreen_mc_wait_for_idle(struct radeon_device *rdev);