diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-02-09 08:32:54 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-02-09 08:37:37 +0000 |
commit | fdcde592c2c48e143251672cf2e82debb07606bd (patch) | |
tree | 81ccd0f473afae3fb6f4468a616cf7f7ed3869f1 /tests/dristat.c | |
parent | e4a519635f75bde38aeb5b09f2ff4efbf73453e9 (diff) |
intel: Account for potential pinned buffers hogging fences
As the kernel reports the total number of fences, we must guess how many
fences are likely to be pinned. In the typical system these will be only
used by the scanout buffers, of which there may be one per pipe, and any
number of manually pinned fenced buffers. So take a conservative guess
and reserve two fences for use by the system.
Note this reduces the number of fences to 3 for i915 and prior.
Reference:
http://bugs.freedesktop.org/show_bug.cgi?id=25911
The latest intel driver 2.10.0 causes kernel oops and system hangs
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/dristat.c')
0 files changed, 0 insertions, 0 deletions