diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-08-30 08:30:11 +0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-09-20 10:12:27 +0400 |
commit | a0d9a8feb928465f3cb525a19e5fafd06ef66ced (patch) | |
tree | 8c9cbb022ccb4364cf7c754311c070954d8584bc /block/blk-merge.c | |
parent | a14845121c1e9cfe302d23ca4ffcfc62cf8e1033 (diff) | |
download | linux-a0d9a8feb928465f3cb525a19e5fafd06ef66ced.tar.xz |
drm/nouveau: remove allocations from gart populate() hook
Since some somewhat questionable changes a while back, TTM provides a
completely empty array of struct dma_address that stays around for the
entire lifetime of the TTM object.
Lets use this array, *always*, rather than wasting yet more memory on
another array who's purpose is identical, as well as yet another bool array
of the same size saying *which* of the previous two arrays to use...
This change will also solve the high order allocation failures seen by
some people while using nouveau.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'block/blk-merge.c')
0 files changed, 0 insertions, 0 deletions