]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit980134b438fe27a1aa85d4633be805b20e3f4bd7
tree61ac646bcce16d863c023e05510200e735036ec7
parenta7afd03f486e9095de2c186cca76649e2e3c6f6b
drm/radeon: add support for read reg query from radeon info ioctl

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