Graphics memory is now dynamically "stolen" from system memory when
commitcc88cbaba29231a0ccd3c610510412d7b245df37
authorneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Wed, 18 Mar 2015 20:16:27 +0000 (18 20:16 +0000)
committerneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Wed, 18 Mar 2015 20:16:27 +0000 (18 20:16 +0000)
treeecf8d350f7d7d142a3387dff8fce78c197097ea4
parent5abc9812535b16cdf7d10980a0673299d8e02636
Graphics memory is now dynamically "stolen" from system memory when
required, and given back when unused. It is taken in 16MB blocks. This
feature makes the GMA_MEM ToolType redundant, so support for it has
been removed.

Also, memory allocated through the Gallium WinSys API is now cleared.
It is cleared under Linux (see e.g. drm_intel_gem_bo_alloc_internal()
in intel_bufmgr_gem.c, where calloc() is used), and not clearing it was
causing instability.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@50210 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
workbench/devs/monitors/IntelGMA/aros_winsys.c
workbench/devs/monitors/IntelGMA/intelG45_init.c
workbench/devs/monitors/IntelGMA/intelG45_intern.h
workbench/devs/monitors/IntelGMA/intelG45_lowlevel.c
workbench/devs/monitors/IntelGMA/intelG45_memory.c
workbench/devs/monitors/IntelGMA/startup.c