]> git.baikalelectronics.ru Git - kernel.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)
commit3a8b9f268fb4026d1e383c826a6e4baaf7b109b7
tree8cfb4c17a4e69e278abf390edceca2a0b333f979
parent59e9e836281726c04cd2bfaadb63a4be278f7560
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