st/dri: Hook up throttling based on the drm driver_descriptor configuration
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 12 Oct 2011 09:00:12 +0000 (11:00 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Fri, 14 Oct 2011 07:53:11 +0000 (09:53 +0200)
commitbde2fc5a7123829dc87d3761934627555be4446f
tree88c4102c436b29f53d081859bdcb403783d199bf
parentec7d5b8c021f655d49df4ba1ed2038ee423f9d5e
st/dri: Hook up throttling based on the drm driver_descriptor configuration

Hooks up throttling if there is a configuration function present and
it indicates that throttling is desired.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
src/gallium/state_trackers/dri/common/dri_drawable.c
src/gallium/state_trackers/dri/common/dri_screen.h
src/gallium/state_trackers/dri/drm/dri2.c