st/mesa: regularly re-pin driver threads to the CCX where the app thread is
authorMarek Olšák <marek.olsak@amd.com>
Mon, 12 Nov 2018 23:10:59 +0000 (18:10 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 21 Nov 2018 02:18:30 +0000 (21:18 -0500)
commit48f2160936f8a803960891f8ab0958e0b26e7dc3
treee539e274133fb00fae4b99daeeae94beb5f3e048
parentce7f84eb77df53520d0f72ec19ec9adc4fc6ed4a
st/mesa: regularly re-pin driver threads to the CCX where the app thread is

This is used when glthread is disabled.

Mesa pretty much chases the app thread on the CPU.
The performance is the same as pinning the app thread.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_context.h
src/mesa/state_tracker/st_draw.c