summaryrefslogtreecommitdiff
path: root/crypto/krng.c
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@amd.com>2014-10-26 10:12:22 +0200
committerOded Gabbay <oded.gabbay@amd.com>2015-01-09 22:26:09 +0200
commite18e794e6ba02e94edb386e6fcd4217773cb0ac8 (patch)
tree1c33d97806db32f1ffc5b62ab0a0ee6fc17f31e1 /crypto/krng.c
parent6e81090b2ec4db256b08fab232e0d247aadf1bc5 (diff)
downloadlinux-next-e18e794e6ba02e94edb386e6fcd4217773cb0ac8.tar.gz
drm/amdkfd: Fixed calculation of gart buffer size
This patch makes the gart's buffer size calculation more accurate. This buffer is needed per GPU. It takes into account maximum number of MQDs, runlist packets, kernel queues and reserves 512KB for other misc allocations. The total size is just shy of 4MB, for 32 processes and 128 queues per process, which are the defaults for amdkfd kernel module parameters. Signed-off-by: Oded Gabbay <oded.gabbay@amd.com> Reviewed-by: Alexey Skidanov <Alexey.skidanov@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'crypto/krng.c')
0 files changed, 0 insertions, 0 deletions