diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2014-02-10 14:57:01 +0900 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-03-26 13:59:32 +1000 |
commit | 02f0b8c895b9bb93e02ba7dcd52a00452f9e7bef (patch) | |
tree | cde795f08dec217f6adf8cd06939ebbd6b5ecfa4 /net/compat.c | |
parent | b6c4285afa66f2f258a237771fd90905a194957d (diff) | |
download | op-kernel-dev-02f0b8c895b9bb93e02ba7dcd52a00452f9e7bef.zip op-kernel-dev-02f0b8c895b9bb93e02ba7dcd52a00452f9e7bef.tar.gz |
drm/nve0/fifo: allocate usermem as needed
Memory was always allocated for 4096 channels. Change this to allocate
what we actually need according to the number of channels we use.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions