diff options
author | Kirill Artamonov <kartamonov@nvidia.com> | 2010-09-10 08:17:25 +0300 |
---|---|---|
committer | Bharat Nihalani <bnihalani@nvidia.com> | 2010-09-19 21:51:01 -0700 |
commit | 49513423ede836d93628a11a85b7d78dd1b827eb (patch) | |
tree | ad372ba7f3ca348a8c203845fca378a68d4ffff1 /kernel/slow-work-debugfs.c | |
parent | 98242b67666a43a1e42a634def39545bec6406ed (diff) |
nvrm: single pages allocation policy corrected
When user doesn't use default heap policy and selects
GART or carveout allocation, automatic single-page-to-sysmem
rule doesn't work. Because of broken rule many single page
allocations go to GART and carveout.
The fix adds sysmem bit to heap mask when allocation is
single page and GART or carveout is present in heap mask.
bug 730124
bug 731923
(cherry picked from commit 3ca9989c922420a57215d297189738a0464c4073)
Change-Id: I2ea8018ae5ed9d31e90659479d0e44052ebf9431
Reviewed-on: http://git-master/r/6701
Reviewed-by: Kirill Artamonov <kartamonov@nvidia.com>
Tested-by: Kirill Artamonov <kartamonov@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'kernel/slow-work-debugfs.c')
0 files changed, 0 insertions, 0 deletions