[SWDEV-534438] Update structure amdsmi_bdf_t (#388)

Signed-off-by: josnarlo <Joseph.Narlo@amd.com>
Signed-off-by: Narlo, Joseph <Joseph.Narlo@amd.com>
This commit is contained in:
Narlo, Joseph
2025-05-28 18:05:43 -05:00
committed by GitHub
parent f71ae88956
commit 7b3c85e970
3 changed files with 30 additions and 12 deletions
+6
View File
@@ -663,6 +663,12 @@ typedef struct {
* @cond @tag{gpu_bm_linux} @tag{host} @endcond
*/
typedef union {
struct bdf_ {
uint64_t function_number : 3;
uint64_t device_number : 5;
uint64_t bus_number : 8;
uint64_t domain_number : 48;
} bdf;
struct {
uint64_t function_number : 3;
uint64_t device_number : 5;