drm/radeon: add support for read reg query from radeon info ioctl
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Oct 2014 15:26:50 +0000 (11:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Mar 2015 16:26:42 +0000 (12:26 -0400)
This allows us to query certain registers from userspace
for profiling and harvest configuration.  E.g., it can
be used by the GALLIUM_HUD for profiling the status of
various gfx blocks.

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

Simple merge
Simple merge