Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add(drm): modetest.md * feat(drm): add compilation and installation example for modetest tool ## Description This commit adds an example for compiling and installing the modetest tool, which is used for testing and validating DRM (Direct Rendering Manager) driver functionality. ## Compilation and Installation Example Here is an example of how to compile and install the modetest tool: 1. Clone the modetest repository from the source: ```shell git clone https://github.com/dvdhrm/drm-tests.git ``` 2. Change into the modetest directory: ```shell cd drm-tests/modetest ``` 3. Install the necessary dependencies for compilation. This may vary depending on your distribution. For example, on Ubuntu, you can install the required packages using the following command: ```shell sudo apt-get install build-essential libdrm-dev ``` 4. Build the modetest tool: ```shell make ``` 5. Optionally, you can run the modetest tool directly from the build directory: ```shell ./modetest ``` 6. If you want to install the modetest tool system-wide, use the following command: ```shell sudo make install ``` This will install the modetest binary into the appropriate system directories. 7. You can now run the modetest tool from anywhere on your system: ```shell modetest ``` Please note that the compilation and installation process may vary depending on your system configuration and distribution. Make sure to follow the specific instructions provided by the modetest repository or consult the documentation for your distribution for more accurate and detailed instructions.
- Loading branch information