st/dri: Add option to control exposure of 10 bpc color configs.
authorMario Kleiner <mario.kleiner.de@gmail.com>
Fri, 15 Dec 2017 22:05:08 +0000 (23:05 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 3 Jan 2018 21:57:57 +0000 (22:57 +0100)
commit2d8e1a6a277cb1684d76210351147f5e7858c8b2
tree5e776a4a62cdd7c432d77950654743fde52bce1c
parente5ff036c6751c39ee008ca7db47b3ce4d7a38a15
st/dri: Add option to control exposure of 10 bpc color configs.

Some clients may not like rgb10 fbconfigs and visuals.
Support driconf option 'allow_rgb10_configs' on gallium
to allow per application enable/disable.

The option defaults to enabled.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/pipe-loader/driinfo_gallium.h
src/gallium/state_trackers/dri/dri_screen.c