licy007 / drm_test-1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

drm_test

This demo is based on https://github.com/dvdhrm/docs/blob/master/drm-howto/modeset.c

build

  1. If you are using cross compile toolchain first souce enviroment, like:
. ~/project/sdk_imx8qm/environment-setup-aarch64-poky-linux
  1. under drm_test directory run:
mkdir build && cd build
  1. build
cmake ../ && make
  1. the binary is under build/src/drm_test, copy it to your target and run, it should show some color block. If your target is running some display servers, first stop them, like: systemctl stop weston.

About

License:MIT License


Languages

Language:C 98.7%Language:CMake 1.3%