linux/drivers/gpu/drm/vmwgfx
Thomas Hellstrom fb17f18993 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>
2011-09-01 09:38:07 +01:00
..
Kconfig
Makefile vmwgfx: Implement a proper GMR eviction mechanism 2010-10-27 11:07:46 +10:00
svga3d_reg.h
svga_escape.h
svga_overlay.h
svga_reg.h
svga_types.h
vmwgfx_buffer.c ttm: Expand (*populate) to support an array of DMA addresses. 2011-01-27 16:07:58 -05:00
vmwgfx_drv.c vmwgfx: Restrict number of GMR pages to device limit 2011-09-01 09:38:07 +01:00
vmwgfx_drv.h vmwgfx: Restrict number of GMR pages to device limit 2011-09-01 09:38:07 +01:00
vmwgfx_execbuf.c vmwgfx: Fix potential execbuf deadlocks 2011-09-01 09:37:55 +01:00
vmwgfx_fb.c vmwgfx: Print error diagnostics if depth doesn't match the host expectation 2011-09-01 09:37:49 +01:00
vmwgfx_fence.c drm/vmwgfx: Add kernel throttling support. Bump minor. 2010-06-01 09:37:15 +10:00
vmwgfx_fifo.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
vmwgfx_gmr.c vmwgfx: Implement a proper GMR eviction mechanism 2010-10-27 11:07:46 +10:00
vmwgfx_gmrid_manager.c vmwgfx: Restrict number of GMR pages to device limit 2011-09-01 09:38:07 +01:00
vmwgfx_ioctl.c drm/vmwgfx: Add a parameter to get the max fb size 2010-10-06 11:29:58 +10:00
vmwgfx_irq.c drm/vmwgfx: Add kernel throttling support. Bump minor. 2010-06-01 09:37:15 +10:00
vmwgfx_kms.c vmwgfx: Print error diagnostics if depth doesn't match the host expectation 2011-09-01 09:37:49 +01:00
vmwgfx_kms.h drm/vmwgfx: Allow userspace to change default layout. Bump minor. 2010-06-03 13:13:36 +10:00
vmwgfx_ldu.c vmwgfx: Print error diagnostics if depth doesn't match the host expectation 2011-09-01 09:37:49 +01:00
vmwgfx_overlay.c drivers: use kzalloc/kcalloc instead of 'kmalloc+memset', where possible 2011-07-25 20:57:13 -07:00
vmwgfx_reg.h
vmwgfx_resource.c vmwgfx: Switch to VGA when we drop master and vmwgfx fbdev is not active 2011-09-01 09:38:00 +01:00
vmwgfx_ttm_glue.c drivers/gpu/drm: Remove unnecessary casts of private_data 2010-09-23 13:35:26 +02:00