diff options
author | Emil Velikov <[email protected]> | 2014-05-18 00:20:47 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-06-19 12:40:01 +0100 |
commit | 86c30c6c5b0d06b36b369c29a0a9264a2d1819d9 (patch) | |
tree | c00412ee96f20d424f38400b75154b2c408e9fa9 /src/gallium/include | |
parent | 573b55e302dcf47ed6c2fe327ce720d72118921b (diff) |
target-helpers: add dd_configuration(), dd_driver_name()
Add a couple of helpers to be used by the dri targets when
built with static pipe-drivers. Both functions provide
functionality required by the dri state-tracker.
With this patch ilo, nouveau and r300 gain support for
throttle dri configuration.
Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/state_tracker/drm_driver.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/include/state_tracker/drm_driver.h b/src/gallium/include/state_tracker/drm_driver.h index ea076850447..740c4bbe1a6 100644 --- a/src/gallium/include/state_tracker/drm_driver.h +++ b/src/gallium/include/state_tracker/drm_driver.h @@ -119,4 +119,8 @@ struct drm_driver_descriptor driver_descriptor = { \ extern struct pipe_screen *dd_create_screen(int fd); +extern const char *dd_driver_name(void); + +extern const struct drm_conf_ret *dd_configuration(enum drm_conf conf); + #endif |