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 <emil.l.velikov@gmail.com>
This commit is contained in:
@@ -61,6 +61,13 @@ pipe_loader_release(struct pipe_loader_device **devs, int ndev)
|
||||
devs[i]->ops->release(&devs[i]);
|
||||
}
|
||||
|
||||
const struct drm_conf_ret *
|
||||
pipe_loader_configuration(struct pipe_loader_device *dev,
|
||||
enum drm_conf conf)
|
||||
{
|
||||
return dev->ops->configuration(dev, conf);
|
||||
}
|
||||
|
||||
struct pipe_screen *
|
||||
pipe_loader_create_screen(struct pipe_loader_device *dev,
|
||||
const char *library_paths)
|
||||
|
Reference in New Issue
Block a user