diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-10-30 16:22:21 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-11-02 17:06:47 -0400 |
commit | 0b0df9eb84d68b9daf6b309263d133bb1a720e9b (patch) | |
tree | dc25468bd154855bb4d544f859558a892e2b7bab /drivers/gpu/nvgpu/ctrl/ctrltherm.h | |
parent | 25440e63d2dfd329ba35aec48f11f0c20b18cdbd (diff) |
gpu: nvgpu: Use nvgpu_is_enabled() for ASPM
Convert disable_aspm and references to that field to use
nvgpu_is_enabled(NVGPU_SUPPORT_ASPM). Initialize it from
gk20a_platform struct at probe time.
This removes another dependency to struct gk20a_platform.
JIRA NVGPU-259
Change-Id: I32e30160f817ea275aa190dcf86c5fd594138d75
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1590124
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/ctrl/ctrltherm.h')
0 files changed, 0 insertions, 0 deletions