Chris Freehill
ea26baec20
Event counter support
...
XGMI related events are supported
Change-Id: If17036fe890c8be45da3654353599821b5828c14
2019-06-24 17:40:01 -05:00
Kent Russell
35d2807196
Add support for reading GPU's unique ID
...
Add support and testing for reading the Unique ID associated with a
specific GPU. This ID will persist across reboots, even if the GPU is
moved to a different machine. Note that this is per-GPU, not per-card,
as some cards have multiple GPUs, and each GPU will get a unique
identifier
Change-Id: Idce50c6febc2ceb1a4c1200d2489ec8b9d8fe174
2019-06-21 08:39:36 -04:00
Chris Freehill
34c977bd06
Added rsmi_dev_pci_replay_counter_get()
...
Also, added code to destroy/recreate mutex if we can't get a lock
within 3 seconds, when shared memory mutex is initialized.
2019-05-06 11:26:40 -05:00
Chris Freehill
5e24a77193
Add mutex for multi-process access to device sysfs files
...
This commit uses a pthread mutex in shared memory to prevent
almost all cases of multiple processes simultaneously
reading/writing to device sysfs files. The main existing race
condition is when 2 processes are starting at the same time,
setting up their shared memory and mutexes. Since this is meant
to prevent collisions among thread and processes, the small
shared memory segments (big enough for a pthread_mutex) will
persist until reboot.
2019-05-04 15:10:58 -05:00
Chris Freehill
4e679b9324
Added ECC enabled, status and get functions
2019-04-03 11:17:43 -05:00
Chris Freehill
c77f3c0ebd
Added new clock types
...
Also added missing error code strings and improved test output
messages
2019-03-28 17:01:35 -05:00
Chris Freehill
cbdfac7bdc
Added new id and id name string look up functions
...
Also, updated docs with typo corrections and a new section
2019-03-15 16:21:37 -05:00
Chris Freehill
ddd292f1b5
Add rsmi_dev_memory_total_get()and rsmi_dev_memory_usage_get()
2019-03-04 18:26:11 -06:00
Chris Freehill
fb5f41fc10
Added rsmi_dev_error_count_get()
2019-03-01 16:33:11 -06:00
Chris Freehill
18ce553dce
Add rsmi_dev_pci_throughput_get()
2019-02-27 15:10:26 -06:00
Chris Freehill
4771996d99
Fix sysfs write operations
2019-02-25 15:14:46 -06:00
Chris Freehill
021f13a68f
Add VBIOS version get function
...
Also, consolidate "get version" type function tests into 1 test.
2019-02-24 11:01:18 -06:00
Chris Freehill
68b5e2ee0d
Documentation and volt-curve read updates
2019-02-22 15:05:44 -06:00
Chris Freehill
b6ce6d30f4
Add support for reading frequency-volt curve data
2019-01-09 23:17:16 -06:00
Chris Freehill
639a4e3503
Add support for reading frequency-volt curva data
2019-01-07 08:44:23 -06:00
Chris Freehill
9c897ab86d
Add get and set routines for PCIe bandwidth
2018-11-16 15:55:38 -06:00
Chris Freehill
861c2c2e33
Add rsmi_dev_busy_percent_get()
...
Also: correct some comments, ifdef out unused code
2018-11-12 17:25:14 -06:00
Chris Freehill
767fa53d8c
Add support for new performance levels
...
Also added tests for new performance levels and clean up some
formatting/style issues.
2018-10-25 14:13:55 -05:00
Chris Freehill
b2f1ee1764
Comment corrections, debug output and assert added
2018-10-22 17:26:38 -05:00
Chris Freehill
53b7ae1113
ROCm 1.9.0 update
2018-09-16 00:13:29 -05:00
Chris Freehill
e948ee5e00
first commit
2017-10-30 12:12:40 -05:00