diff options
| author | Thomas Hellstrom <thellstrom@vmware.com> | 2011-10-07 15:23:06 +0200 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2011-10-10 09:01:44 +0100 |
| commit | 414ee50b3a111983056b1a828fac08f9e8fbc7e9 (patch) | |
| tree | d946756ccdca539c8ca707f02b2a47a3e589c649 /tools/perf/scripts/python | |
| parent | DRM: add DRM Driver for Samsung SoC EXYNOS4210. (diff) | |
| download | linux-414ee50b3a111983056b1a828fac08f9e8fbc7e9.tar.gz linux-414ee50b3a111983056b1a828fac08f9e8fbc7e9.zip | |
vmwgfx: Implement memory accounting for resources
Contexts, surfaces and streams allocate persistent kernel memory as the
direct result of user-space requests. Make sure this memory is
accounted as graphics memory, to avoid DOS vulnerabilities.
Also take the TTM read lock around resource creation to block
switched-out dri clients from allocating resources.
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
