-
Notifications
You must be signed in to change notification settings - Fork 484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
P1 - Initial changes for removal of xcl apis #7860
Conversation
Signed-off-by: rbramand <[email protected]>
Build failed :( |
Signed-off-by: rbramand <[email protected]>
Build Passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rajkumar-xilinx , please fix the mixed case structs.
I started adding changes for a few, but it's easier you sweep through and fix them.
} | ||
}; | ||
|
||
struct device_clock_freq_MHz { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No CamelCase
struct device_clock_freq_MHz { | |
struct device_clock_freq_mhz { |
@@ -940,6 +1033,13 @@ initialize_query_table() | |||
emplace_func4_request<query::spc_status, spc_status>(); | |||
emplace_func4_request<query::accel_deadlock_status, accel_deadlock_status>(); | |||
emplace_func4_request<query::dtbo_path, dtbo_path>(); | |||
|
|||
emplace_func4_request<query::debug_ip_layout_path, debug_ip_layout_path>(); | |||
emplace_func0_request<query::device_clock_freq_MHz, device_clock_freq_MHz>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
emplace_func0_request<query::device_clock_freq_MHz, device_clock_freq_MHz>(); | |
emplace_func0_request<query::device_clock_freq_mhz, device_clock_freq_mhz>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good. When the PR is merged, Parth will use the new device query method in XDP and verify on local tests.
Sure |
Signed-off-by: rbramand <[email protected]>
Build Passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
Problem solved by the commit
This commit adds new queries which will be used in XDP code base. XDP code will be moved from using xcl apis to query calls to fetch information. Confluence page capturing this work - https://confluence.xilinx.com/display/XSW/Vitis-9976+Work
This change is part of series of changes which aim to remove release of xcl apis
Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered
How problem was solved, alternative solutions (if any) and why they were rejected
New queries are added, XDP code will now link to xrt_coreutil which will be platform independent
Risks (if any) associated the changes in the commit
Low
What has been tested and how, request additional testing if necessary
Tested build flows (PCIE - Linux/Windows, Edge)
After XDP code adds these queries they will do functionality test with their test cases
Documentation impact (if any)
NA