summaryrefslogtreecommitdiff
path: root/libdrm/xf86mm.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-06-13 10:47:33 -0700
committerEric Anholt <eric@anholt.net>2008-06-13 10:47:33 -0700
commitdf4ef348c8a48cead807a42fcd315f7e422aa156 (patch)
treec2ce73fd4de9a4a3ab02919c10ace0dfaf416898 /libdrm/xf86mm.h
parente558e1d7dacafa1e7f9681f1eaec072d663287de (diff)
Fix i915_wait_irq in the presence of interrupt masking.
In the short-circuit code for the breadcrumb already being new enough, we need to update the sarea_priv copy of the breadcrumb just as if we had waited. Otherwise userland error checking will notice that we returned too early based on its wrong information, and call wait_irq again (leading to spinning until someone else comes along and updates the sarea_priv). This bug was hidden when we had interrupt masking disabled, such as in master, since the interrupt handler would update sarea_priv.
Diffstat (limited to 'libdrm/xf86mm.h')
0 files changed, 0 insertions, 0 deletions