diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-04-22 18:39:58 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-05-18 10:20:47 +0200 |
commit | def9ba9cf6a8266ee1ffd72556db002c3a2663db (patch) | |
tree | 4fff0f90b886dcfd96f11853cf4c605b2d3b759f /drivers/gpu/drm/radeon/radeon_asic.h | |
parent | drm/fbdev: fix cloning on fbcon (diff) | |
download | linux-def9ba9cf6a8266ee1ffd72556db002c3a2663db.tar.xz linux-def9ba9cf6a8266ee1ffd72556db002c3a2663db.zip |
drm/radeon/kms: add gui_idle callback
Check to see if the GUI engine and related blocks
(2D, 3D, CP, etc) are idle or not. There are a number
of cases when we need to know if the drawing engine
is busy.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_asic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.h b/drivers/gpu/drm/radeon/radeon_asic.h index ef2c7ba1bdc9..c74bf9bd26c2 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.h +++ b/drivers/gpu/drm/radeon/radeon_asic.h @@ -126,6 +126,7 @@ int r100_cs_packet_parse(struct radeon_cs_parser *p, void r100_enable_bm(struct radeon_device *rdev); void r100_set_common_regs(struct radeon_device *rdev); void r100_bm_disable(struct radeon_device *rdev); +extern bool r100_gui_idle(struct radeon_device *rdev); /* * r200,rv250,rs300,rv280 */ @@ -269,6 +270,7 @@ bool r600_hpd_sense(struct radeon_device *rdev, enum radeon_hpd_id hpd); void r600_hpd_set_polarity(struct radeon_device *rdev, enum radeon_hpd_id hpd); extern void r600_ioctl_wait_idle(struct radeon_device *rdev, struct radeon_bo *bo); +extern bool r600_gui_idle(struct radeon_device *rdev); /* * rv770,rv730,rv710,rv740 |