summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/pipe-loader/pipe_loader_priv.h
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-05-17 15:31:32 +0100
committerEmil Velikov <[email protected]>2014-06-19 12:37:14 +0100
commit36ff20027c43cd7115f1b6f073e4094582f643b6 (patch)
tree9cab40c233cfe47dc83ca4fd158b81e074dbadd7 /src/gallium/auxiliary/pipe-loader/pipe_loader_priv.h
parent7f00611d780df85cc20474b6695754e36a6c9228 (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/pipe-loader/pipe_loader_priv.h')
-rw-r--r--src/gallium/auxiliary/pipe-loader/pipe_loader_priv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader_priv.h b/src/gallium/auxiliary/pipe-loader/pipe_loader_priv.h
index 476c0ad042e..d3b025221c5 100644
--- a/src/gallium/auxiliary/pipe-loader/pipe_loader_priv.h
+++ b/src/gallium/auxiliary/pipe-loader/pipe_loader_priv.h
@@ -34,6 +34,9 @@ struct pipe_loader_ops {
struct pipe_screen *(*create_screen)(struct pipe_loader_device *dev,
const char *library_paths);
+ const struct drm_conf_ret *(*configuration)(struct pipe_loader_device *dev,
+ enum drm_conf conf);
+
void (*release)(struct pipe_loader_device **dev);
};