diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-01-24 17:14:26 -0500 |
---|---|---|
committer | Dave Airlie <airlied@gmail.com> | 2011-01-25 08:41:04 +1000 |
commit | 58bbf018a70c562437eeae121a5d021ba7fe56a5 (patch) | |
tree | 5a44a8c8f53710366e51208f63e86c3a441f256a /include/drm | |
parent | b526ce2264e93b64853478ae50725a30c1dc7abf (diff) | |
download | talos-obmc-linux-58bbf018a70c562437eeae121a5d021ba7fe56a5.tar.gz talos-obmc-linux-58bbf018a70c562437eeae121a5d021ba7fe56a5.zip |
drm/radeon/kms: add new radeon_info ioctl query for clock crystal freq
Needed for timer queries in the 3D driver.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@gmail.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/radeon_drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/radeon_drm.h b/include/drm/radeon_drm.h index e95a86b8b689..e5c607a02d57 100644 --- a/include/drm/radeon_drm.h +++ b/include/drm/radeon_drm.h @@ -907,6 +907,7 @@ struct drm_radeon_cs { #define RADEON_INFO_TILING_CONFIG 0x06 #define RADEON_INFO_WANT_HYPERZ 0x07 #define RADEON_INFO_WANT_CMASK 0x08 /* get access to CMASK on r300 */ +#define RADEON_INFO_CLOCK_CRYSTAL_FREQ 0x09 /* clock crystal frequency */ struct drm_radeon_info { uint32_t request; |