diff options
author | Nicolin Chen <nicolinc@nvidia.com> | 2018-08-30 17:34:52 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-04 19:16:55 -0400 |
commit | bd47d00ce736a421a3b4376ad996fdc877ccf0ca (patch) | |
tree | da3e014b79a8beac25dec722ed36cdcd0c32c140 /drivers/gpu/nvgpu/common/mm | |
parent | 471be337187477e57f8ab08d04d22f19700c3ade (diff) |
gpu: nvgpu: Add a macro of totalram_size_in_mb
There are two (would be more) places calculating the ram size in MB from
page numbers, so this patch just simply adds a macro for simplification.
Bug 2327574
Bug 2284925
Change-Id: Ie5dc387d547e1b8ce98946f0637dc17a6897e5a6
Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1810333
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/mm')
0 files changed, 0 insertions, 0 deletions