History

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.

Alex Deucher committed 12 years ago

Commit 4535cb91 parent 353eec22 files · +9 −0Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/drm/radeon_drm.h+1−0
@@ -1037,6 +1037,7 @@ struct drm_radeon_cs { · 1036 unmodified lines
10371037 #define RADEON_INFO_CURRENT_GPU_TEMP 0x21
10381038 #define RADEON_INFO_CURRENT_GPU_SCLK 0x22
10391039 #define RADEON_INFO_CURRENT_GPU_MCLK 0x23
1040+#define RADEON_INFO_READ_REG 0x24
10401041
10411042 struct drm_radeon_info {
10421043 uint32_t request;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t