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)
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

Simple merge