Skip to content
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

Merged
merged 3 commits into from
Dec 28, 2023

Conversation

rbramand-xilinx
Copy link
Collaborator

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

@gbuildx
Copy link
Collaborator

gbuildx commented Dec 20, 2023

Build failed :(

Signed-off-by: rbramand <[email protected]>
@gbuildx
Copy link
Collaborator

gbuildx commented Dec 20, 2023

Build Passed!

Copy link
Collaborator

@stsoe stsoe left a 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 {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No CamelCase

Suggested change
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>();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
emplace_func0_request<query::device_clock_freq_MHz, device_clock_freq_MHz>();
emplace_func0_request<query::device_clock_freq_mhz, device_clock_freq_mhz>();

Copy link
Collaborator

@IshitaGhosh IshitaGhosh left a 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.

@rajkumar-xilinx
Copy link
Collaborator

@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.

Sure

Signed-off-by: rbramand <[email protected]>
@gbuildx
Copy link
Collaborator

gbuildx commented Dec 22, 2023

Build Passed!

Copy link
Collaborator

@stsoe stsoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

@stsoe stsoe merged commit 8443a7c into Xilinx:master Dec 28, 2023
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants