diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2014-10-01 09:36:57 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-03-19 12:26:38 -0400 |
commit | c6d2ac2c36f80b8be15d47a8da6fca803a432e1c (patch) | |
tree | 14ccf607e0b43c3520fed23b8fdf2a2e0f898666 /drivers/gpu/drm/radeon/radeon_asic.h | |
parent | 18b53e905756930d6d4e691e1e1c3b43dba0c973 (diff) | |
download | lwn-c6d2ac2c36f80b8be15d47a8da6fca803a432e1c.tar.gz lwn-c6d2ac2c36f80b8be15d47a8da6fca803a432e1c.zip |
drm/radeon: add get_allowed_info_register for r6xx/r7xx
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.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 4259daf94d91..3e1346d585b3 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.h +++ b/drivers/gpu/drm/radeon/radeon_asic.h @@ -384,6 +384,8 @@ u32 r600_gfx_get_wptr(struct radeon_device *rdev, struct radeon_ring *ring); void r600_gfx_set_wptr(struct radeon_device *rdev, struct radeon_ring *ring); +int r600_get_allowed_info_register(struct radeon_device *rdev, + u32 reg, u32 *val); /* r600 irq */ int r600_irq_process(struct radeon_device *rdev); int r600_irq_init(struct radeon_device *rdev); |