diff options
author | Alex Waterman <alexw@nvidia.com> | 2018-08-10 19:12:35 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-08-21 17:54:16 -0400 |
commit | 14cf2edac71a57a277dc671d02c9a237026aa482 (patch) | |
tree | d85461888639c303ed4daf76d07166ee2be2705a /drivers/gpu/nvgpu/pmgr/pwrpolicy.h | |
parent | bf8a1e0019d032928f6cdf44da59ebc4874047e0 (diff) |
gpu: nvgpu: Add BIT32() and BIT64() macros
Provide both a BIT32() and BIT64() macro so that bit fields
can be sized appropriately. The existing BIT() macro is now
deprecated and should not be used. Instead use the explicitly
sized macros.
JIRA NVGPU-781
Change-Id: I9309bd0cda8f811934b7388990e12d0e02436eb0
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1797197
Reviewed-by: Scott Long <scottl@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pmgr/pwrpolicy.h')
0 files changed, 0 insertions, 0 deletions