aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2011-08-31 03:42:53 -0400
committerDave Airlie <airlied@redhat.com>2011-09-01 04:38:07 -0400
commitfb17f18993071cc230ec8ddb6dd3dd9932d2dba2 (patch)
treec44f01b1f015cce50e7c4d12045dc8815618f253 /init
parent05730b32a78dab4bed8fb7ccc64c53d9fcf31e9d (diff)
vmwgfx: Restrict number of GMR pages to device limit
When GMR2 is available, make sure we restrict the number of used GMR pages to the limit indicated by the device. This is done by failing a GMRID allocation if the total number of GMR pages exceeds the limit. As a result TTM will then start evicting buffers in GMR memory on a LRU basis until the allocation succeeds. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions