gallium: add pipe_context::set_context_param for tuning perf on AMD Zen (v2)
authorMarek Olšák <marek.olsak@amd.com>
Thu, 6 Sep 2018 02:57:19 +0000 (22:57 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 7 Sep 2018 19:48:31 +0000 (15:48 -0400)
commite5e3b5cdcc38ce1111b134e6fe5bc4d00c8c715f
tree0b4ab013955105b227a8f29fdd3e2eb26adc5ac9
parent6d477bc5460eec14c6a0d047a0384c9ce5c7609b
gallium: add pipe_context::set_context_param for tuning perf on AMD Zen (v2)

State trackers will not use the new param directly, but will instead use
a helper in MakeCurrent that does the right thing.

v2: rework the interface

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/driver_ddebug/dd_context.c
src/gallium/auxiliary/driver_noop/noop_pipe.c
src/gallium/auxiliary/driver_trace/tr_context.c
src/gallium/include/pipe/p_context.h
src/gallium/include/pipe/p_defines.h