summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/pipe-loader/pipe_loader.h
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-10-14 16:24:55 +0100
committerEmil Velikov <[email protected]>2015-11-21 12:52:18 +0000
commit33f1db1eb412382d2bd6552369e6f63bad52ca8d (patch)
tree66f7d12b4b8175a39463b96230287b6cf496e8fd /src/gallium/auxiliary/pipe-loader/pipe_loader.h
parentbe430726e2586e1c9932953325b45e0e6a39f301 (diff)
pipe-loader: add pipe_loader_sw_probe_kms() implementation
Will be used as a counterpart for target-helpers' kms_swrast_create_screen(). Signed-off-by: Emil Velikov <[email protected]> Acked-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/pipe-loader/pipe_loader.h')
-rw-r--r--src/gallium/auxiliary/pipe-loader/pipe_loader.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader.h b/src/gallium/auxiliary/pipe-loader/pipe_loader.h
index 7aa9c67d504..8eba8a6f008 100644
--- a/src/gallium/auxiliary/pipe-loader/pipe_loader.h
+++ b/src/gallium/auxiliary/pipe-loader/pipe_loader.h
@@ -124,6 +124,16 @@ pipe_loader_sw_probe_dri(struct pipe_loader_device **devs,
struct drisw_loader_funcs *drisw_lf);
/**
+ * Initialize a kms backed sw device given an fd.
+ *
+ * This function is platform-specific.
+ *
+ * \sa pipe_loader_probe
+ */
+bool
+pipe_loader_sw_probe_kms(struct pipe_loader_device **devs, int fd);
+
+/**
* Initialize a null sw device.
*
* This function is platform-specific.