]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/radeon: add new callback for info ioctl register accessor
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Oct 2014 13:17:12 +0000 (09:17 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Mar 2015 16:26:37 +0000 (12:26 -0400)
commit4ce4728b5113245c731ac3baef36dce0482cce0c
tree8cfb4c17a4e69e278abf390edceca2a0b333f979
parent5c363a860398e2a09e5cff7f4654cf82ed8485e1
drm/radeon: add new callback for info ioctl register accessor

This adds a callback for each asic family to determine what
registers are allowed to be read back via the info ioctl.

The idea here is to allow usermode to query things like GPU status
registers or GPU harvest registers for profiling and determining
the gfx config.

Tested-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h