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

Release 3.0.0 #20

Merged
merged 24 commits into from
Oct 31, 2024
Merged

Release 3.0.0 #20

merged 24 commits into from
Oct 31, 2024

Conversation

eshenayo
Copy link
Contributor

Add support for MTL C10 PHYs, ADL-N Devices, and additional documentation. See release notes for more detail.

arshadlab and others added 24 commits July 7, 2024 14:00
* Clean exit upon Ctrl+C by restoring original PLL values

Signed-off-by: Arshad Mehmood <arshad.mehmood@intel.com>

* Addressed review comments

---------

Signed-off-by: Arshad Mehmood <arshad.mehmood@intel.com>
This update enhances the build process by enabling simultaneous
construction of static and dynamic libraries and updating
Makefiles to trigger rebuilds on header file changes. Additionally,
the make VERBOSE=1 command has been introduced to display compile
commands for greater transparency. Also a global variable name
is changed in the library to prevent compilation errors during
static linking.

Signed-off-by: Arshad Mehmood <arshad.mehmood@intel.com>
This commit introduces several bash scripts to automate running PTP
and vsync executable.  They are to be executed from the primary system.
The run_ptp.sh script initiates the ptp and phc2sys on both the primary
and secondary systems. Similarly, the run_vsync.sh script launches the
vsync_test on both systems. For these scripts to function correctly,
the primary system must be configured for passwordless SSH login to the
secondary system. Additionally, both systems must permit passwordless
sudo access for the user.

Signed-off-by: Arshad Mehmood <arshad.mehmood@intel.com>
Introduced print_drm_info() call to vsync_lib_init() to log detail
information about available pipes and connector info in the system.
User can infer the pipe number from the output. Log mode is info.

Signed-off-by: Arshad Mehmood <arshad.mehmood@intel.com>
Signed-off-by: Arshad Mehmood <arshad.mehmood@intel.com>
Updated the shift variable from a hardcoded value to a function parameter.
Modified test applications accordingly.

Signed-off-by: Arshad Mehmood <arshad.mehmood@intel.com>
Enable users to set the log level from the command line without
recompiling the binary, facilitating faster troubleshooting.
Move logging functions from inline declarations to a new .cpp file
to prevent duplicate definition compiler errors, as these functions
are now exported and invoked by the application.

Signed-off-by: Arshad Mehmood <arshad.mehmood@intel.com>
The synchronize_vsync function is synchronous and does not
output any information. To enhance visibility, a new thread has been
introduced in the application specifically for logging vblank intervals
before the synchronization call is made by the parent application.
A new method get_vblank_interval is added to lib to return average interval on a pipe.
No changes have been made to the synchronize_vsync function itself.
This additional logging thread is terminated once the synchronization call completes.

Signed-off-by: Arshad Mehmood <arshad.mehmood@intel.com>
Two new files with c10 class implementation are added.
vsyncalter.cpp updated to handle c10 class creation.
mtl.h file with C10/C20 config added.

Signed-off-by: Arshad Mehmood <arshad.mehmood@intel.com>
Refined the implementation from using global variables for PLL values to object variables. Additionally, replaced magic numbers with constants for register index offsets.

Signed-off-by: Arshad Mehmood <arshad.mehmood@intel.com>
Added new sections along with images and rearrange existings

Signed-off-by: Arshad Mehmood <arshad.mehmood@intel.com>
Signed-off-by: Ernesto Ojeda <ernesto.ojeda@intel.com>
+Updated minor issue with automation script.

Signed-off-by: Arshad Mehmood <arshad.mehmood@intel.com>
Signed-off-by: Arshad Mehmood <arshad.mehmood@intel.com>
Signed-off-by: Eshe N Pickett <eshe.n.pickett@intel.com>
Implemented a check in close_mmio_handle() to verify
that g_fd is non-negative before proceeding with the
close() call. This adjustment addresses an issue where
g_fd remained unset due to the obsolete map_cmn()
function, potentially leading to attempts to close an
invalid file descriptor during library deinitialization.

Signed-off-by: Arshad Mehmood <arshad.mehmood@intel.com>
…tion

Signed-off-by: Arshad Mehmood <arshad.mehmood@intel.com>
Adjusted the launch sequence for ptp4l and phc2sys on
primary and secondary systems to ensure they start in
the correct order and with sufficient delay between them.
This update introduces an optimized order and incorporates
additional sleep intervals for improved start-up synchronization.

Signed-off-by: Arshad Mehmood <arshad.mehmood@intel.com>
…listed in the release notes

Signed-off-by: Eshe N Pickett <eshe.n.pickett@intel.com>
Signed-off-by: Eshe N Pickett <eshe.n.pickett@intel.com>
Signed-off-by: Eshe N Pickett <eshe.n.pickett@intel.com>
Signed-off-by: Eshe N Pickett <eshe.n.pickett@intel.com>
@eshenayo eshenayo requested a review from brian-intel October 31, 2024 21:58
@eshenayo eshenayo self-assigned this Oct 31, 2024
@eshenayo eshenayo merged commit 2f1d310 into main Oct 31, 2024
2 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.

4 participants