ac/gpu: add driver/device UUID query helpers
authorAndres Rodriguez <andresx7@gmail.com>
Wed, 12 Jul 2017 22:45:25 +0000 (18:45 -0400)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sun, 6 Aug 2017 02:42:07 +0000 (12:42 +1000)
commit6130c8e6e769cf0361e36df0b4b5d288833adc27
tree6dc3725c3b1c7c9c27b8256d4186491377c9f5ed
parentb2aaa91e8db006adbd2ca672756b3fdb23c5b589
ac/gpu: add driver/device UUID query helpers

We need vulkan and gl to produce the same UUIDs. Therefore we should
keep the mechanism to compute these in a common location to guarantee
they are updated in lockstep.

Signed-off-by: Andres Rodriguez <andresx7@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_gpu_info.c
src/amd/common/ac_gpu_info.h