summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_asic.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2014-10-01 09:43:38 -0400
committerAlex Deucher <alexander.deucher@amd.com>2015-03-19 12:26:39 -0400
commitff609975e1cd8a58ee862fb3188e8b01b935131d (patch)
tree1364c93781c44b813f2fc54970ac0f729f95e543 /drivers/gpu/drm/radeon/radeon_asic.h
parentc6d2ac2c36f80b8be15d47a8da6fca803a432e1c (diff)
downloadtalos-obmc-linux-ff609975e1cd8a58ee862fb3188e8b01b935131d.tar.gz
talos-obmc-linux-ff609975e1cd8a58ee862fb3188e8b01b935131d.zip
drm/radeon: add get_allowed_info_register for EG/BTC
Registers that can be fetched from the info ioctl. Tested-by: Marek Olšák <marek.olsak@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.h2
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 3e1346d585b3..b632e35248b1 100644
--- a/drivers/gpu/drm/radeon/radeon_asic.h
+++ b/drivers/gpu/drm/radeon/radeon_asic.h
@@ -548,6 +548,8 @@ struct radeon_fence *evergreen_copy_dma(struct radeon_device *rdev,
unsigned num_gpu_pages,
struct reservation_object *resv);
int evergreen_get_temp(struct radeon_device *rdev);
+int evergreen_get_allowed_info_register(struct radeon_device *rdev,
+ u32 reg, u32 *val);
int sumo_get_temp(struct radeon_device *rdev);
int tn_get_temp(struct radeon_device *rdev);
int cypress_dpm_init(struct radeon_device *rdev);
OpenPOWER on IntegriCloud