From 36ff20027c43cd7115f1b6f073e4094582f643b6 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sat, 17 May 2014 15:31:32 +0100 Subject: pipe-loader: add pipe_loader_ops::configuration() Required for the dri state-tracker. Will be used to retrieve driver specific configuration parameters: - share_fd (dmabuf) capability - throttle Signed-off-by: Emil Velikov --- src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c') diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c b/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c index fa317f2..b1b1ca6 100644 --- a/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c +++ b/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c @@ -152,6 +152,13 @@ pipe_loader_sw_release(struct pipe_loader_device **dev) *dev = NULL; } +static const struct drm_conf_ret * +pipe_loader_sw_configuration(struct pipe_loader_device *dev, + enum drm_conf conf) +{ + return NULL; +} + static struct pipe_screen * pipe_loader_sw_create_screen(struct pipe_loader_device *dev, const char *library_paths) @@ -176,5 +183,6 @@ pipe_loader_sw_create_screen(struct pipe_loader_device *dev, static struct pipe_loader_ops pipe_loader_sw_ops = { .create_screen = pipe_loader_sw_create_screen, + .configuration = pipe_loader_sw_configuration, .release = pipe_loader_sw_release }; -- cgit v1.1