Note that current msm kernel driver is a bit strange. It provides a DRM interface for GEM, which is basically sufficient to have DRI2 working. But it does not provide KMS. And interface to 2d and 3d cores is via different other devices (/dev/kgsl-*). This is not quite how I'd write a DRM driver, but at this stage it is useful for xf86-video-freedreno and fdre (and eventual gallium driver) to be able to work on existing kernel driver from QCOM, to allow to capture cmdstream dumps from the binary blob drivers without having to reboot. So libdrm_freedreno attempts to hide most of the crazy. The intention is that when there is a proper kernel driver, it will be mostly just changes in libdrm_freedreno to adapt the gallium driver and xf86-video-freedreno (ignoring the fbdev->KMS changes). So don't look at freedreno as an example of how to write a libdrm module or a DRM driver.. it is just an attempt to paper over a non- standard kernel driver architecture. ve libdrm, cloned from git://anongit.freedesktop.org/mesa/drmLaurent Pinchart
summaryrefslogtreecommitdiff
path: root/tests/modefb/Makefile
blob: 467fb11a2d966d3f87a7ef7e0c8c5334d4062851 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

all: app

#CFLAGS = -g -ansi -pedantic -DPOSIX_C_SOURCE=199309L \
#        -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE \

app: demo.c
	@gcc $(CFLAGS) -o app -Wall -I../../libdrm -I../../shared-core -L../../libdrm/.libs -ldrm demo.c

clean:
	@rm -f app

run: app
	sudo ./test