[SWDEV-518325/SWDEV-518320/SWDEV-443309] Fix Partition Enumeration
* Changes:
- Updates to DRM renderD* / card* pathing for partition
- Now use KFD to discover AMD devices and populate accordingly
Device MUST have an accessible KFD node (via cgroups)
- Updated serveral AMD SMI CLI outputs to handle SYSFS files
which are not accessible on partition nodes
- Tests are updated to handle not supported features
- Added new method to help get card/drm info
(rsmi_dev_device_identifiers_get) from ROCm SMI
- Renamed device->get_card_id() & device->get_drm_render_minor()
These can now be used on internal AMD SMI calls.
- Removed warnings shown in build
Change-Id: Ice882fd9b97fb625a5bd4ef327f3ceaf247dc570
Signed-off-by: Charis Poag <Charis.Poag@amd.com>
This commit is contained in:
committed by
Arif, Maisam
parent
af943ac05c
commit
4782528770
@@ -297,7 +297,7 @@ void TestMemoryPartitionReadWrite::Run(void) {
|
||||
<< "\n\t\tcurrent_profile.num_resources: " << current_profile.num_resources
|
||||
<< std::endl;
|
||||
}
|
||||
for (auto j = 0; j < current_profile.num_resources; j++) {
|
||||
for (uint32_t j = 0; j < current_profile.num_resources; j++) {
|
||||
auto rp = profile_config.resource_profiles[resource_index];
|
||||
|
||||
IF_VERB(STANDARD) {
|
||||
|
||||
Reference in New Issue
Block a user