OSDN Git Service

pipe-loader: wire up the 'static' drm pipe-loader
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 14 Oct 2015 13:56:21 +0000 (14:56 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 21 Nov 2015 12:52:19 +0000 (12:52 +0000)
commit1b589207dee10abbe946dd7c3955ad153c5c5881
tree1ade66480d779fac7c8fe3fa239f94d5d40cf7fe
parent0f39f9cb7ad8e93cfad95043724143ed097de966
pipe-loader: wire up the 'static' drm pipe-loader

Add a list of driver descriptors and select one from the list, during
probe time.

As we'll need to have all the driver pipe_foo_screen_create() functions
provided externally (i.e. from another static lib) we need a separate
(non-inline) drm_helper, which contains the function declarations.

v2: rebase on top of virgl support.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Rob Clark <robclark@freedesktop.org>
src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
src/gallium/auxiliary/target-helpers/drm_helper_public.h [new file with mode: 0644]