diff options
| author | Thomas Hellstrom <[email protected]> | 2011-10-07 15:23:06 +0200 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2011-10-10 09:01:44 +0100 |
| commit | 414ee50b3a111983056b1a828fac08f9e8fbc7e9 (patch) | |
| tree | d946756ccdca539c8ca707f02b2a47a3e589c649 /tools/perf/scripts/python | |
| parent | 1c248b7d2960faec3e1b8f3f9c5d9d0df28e0a3c (diff) | |
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 <[email protected]>
Reviewed-by: Jakob Bornecrantz <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions