intel: Don't allocate more relocation entries than the BO could support.
authorEric Anholt <eric@anholt.net>
Mon, 5 Oct 2009 23:35:32 +0000 (16:35 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 6 Oct 2009 20:30:07 +0000 (13:30 -0700)
commit3c9bd068e0aa8069f71e8193b82b231d6513ce35
treeb2592f4de33a32ab0625a74aa7c1eade46c4d662
parentac34f599eabcfc414d4d3300063988d4749813f4
intel: Don't allocate more relocation entries than the BO could support.

This saves 32k of relocation entry storage for many 965 state buffers.  No
noticeable impact on performance for cairo-gl firefox.
libdrm/intel/intel_bufmgr_gem.c