summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_lowering.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2014-06-13 17:39:59 -0400
committerRob Clark <[email protected]>2014-06-22 07:25:43 -0400
commitc63450e8298a34aa0f4077a846b5b0467cdeb567 (patch)
tree2dff165e5f801450ea29c512076f6232472b9c2f /src/gallium/drivers/freedreno/freedreno_lowering.c
parentb2c1f3a0198d2abf98e965a7a022ad8c9ec4f43c (diff)
freedreno/a3xx: WFI fixes/cleanup
Blob driver seems to need WFI in some cases after CP_EVENT_WRITE, implying that this is asynchronous and should reset needs_wfi. Also, CP_INVALIDATE_STATE seems to need WFI. But CP_LOAD_STATE does not. The blob driver also puts WFIs before writing GRAS_CL_VPORT registers. The latter may be a work-around, as these registers should be banked/ context registers. I haven't yet found a lockup that this averts, but I expect viewport to change infrequently so out of paranoia I will keep these for now. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_lowering.c')
0 files changed, 0 insertions, 0 deletions