diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-02-23 17:53:37 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-02-27 09:46:13 -0500 |
commit | 3ae19b750bdc09ce233e1504348320141593ffda (patch) | |
tree | 91698edc128672983f92e0c066f0b18ae1d72f72 /drivers/gpu/drm/radeon/radeon_asic.h | |
parent | e5bcf23443740f741df8e5461ccdad0f10d1a75b (diff) |
drm/radeon/kms: add wait_for_vblank asic callback
Required for future functionality.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_asic.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_asic.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.h b/drivers/gpu/drm/radeon/radeon_asic.h index 6304aef0d9b2..d9df84f9ebb6 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.h +++ b/drivers/gpu/drm/radeon/radeon_asic.h | |||
@@ -139,6 +139,7 @@ extern void r100_pm_get_dynpm_state(struct radeon_device *rdev); | |||
139 | extern void r100_pre_page_flip(struct radeon_device *rdev, int crtc); | 139 | extern void r100_pre_page_flip(struct radeon_device *rdev, int crtc); |
140 | extern u32 r100_page_flip(struct radeon_device *rdev, int crtc, u64 crtc_base); | 140 | extern u32 r100_page_flip(struct radeon_device *rdev, int crtc, u64 crtc_base); |
141 | extern void r100_post_page_flip(struct radeon_device *rdev, int crtc); | 141 | extern void r100_post_page_flip(struct radeon_device *rdev, int crtc); |
142 | extern void r100_wait_for_vblank(struct radeon_device *rdev, int crtc); | ||
142 | 143 | ||
143 | /* | 144 | /* |
144 | * r200,rv250,rs300,rv280 | 145 | * r200,rv250,rs300,rv280 |
@@ -236,7 +237,7 @@ extern void rs600_pre_page_flip(struct radeon_device *rdev, int crtc); | |||
236 | extern u32 rs600_page_flip(struct radeon_device *rdev, int crtc, u64 crtc_base); | 237 | extern u32 rs600_page_flip(struct radeon_device *rdev, int crtc, u64 crtc_base); |
237 | extern void rs600_post_page_flip(struct radeon_device *rdev, int crtc); | 238 | extern void rs600_post_page_flip(struct radeon_device *rdev, int crtc); |
238 | void rs600_set_safe_registers(struct radeon_device *rdev); | 239 | void rs600_set_safe_registers(struct radeon_device *rdev); |
239 | 240 | extern void avivo_wait_for_vblank(struct radeon_device *rdev, int crtc); | |
240 | 241 | ||
241 | /* | 242 | /* |
242 | * rs690,rs740 | 243 | * rs690,rs740 |
@@ -423,6 +424,7 @@ extern void sumo_pm_init_profile(struct radeon_device *rdev); | |||
423 | extern void evergreen_pre_page_flip(struct radeon_device *rdev, int crtc); | 424 | extern void evergreen_pre_page_flip(struct radeon_device *rdev, int crtc); |
424 | extern u32 evergreen_page_flip(struct radeon_device *rdev, int crtc, u64 crtc_base); | 425 | extern u32 evergreen_page_flip(struct radeon_device *rdev, int crtc, u64 crtc_base); |
425 | extern void evergreen_post_page_flip(struct radeon_device *rdev, int crtc); | 426 | extern void evergreen_post_page_flip(struct radeon_device *rdev, int crtc); |
427 | extern void dce4_wait_for_vblank(struct radeon_device *rdev, int crtc); | ||
426 | void evergreen_disable_interrupt_state(struct radeon_device *rdev); | 428 | void evergreen_disable_interrupt_state(struct radeon_device *rdev); |
427 | int evergreen_blit_init(struct radeon_device *rdev); | 429 | int evergreen_blit_init(struct radeon_device *rdev); |
428 | 430 | ||