target-helpers: add dd_configuration(), dd_driver_name()
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 17 May 2014 23:20:47 +0000 (00:20 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 19 Jun 2014 11:40:01 +0000 (12:40 +0100)
commit86c30c6c5b0d06b36b369c29a0a9264a2d1819d9
treec00412ee96f20d424f38400b75154b2c408e9fa9
parent573b55e302dcf47ed6c2fe327ce720d72118921b
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 <emil.l.velikov@gmail.com>
src/gallium/auxiliary/target-helpers/inline_drm_helper.h
src/gallium/include/state_tracker/drm_driver.h