diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-11-05 03:12:17 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:12:06 -0400 |
commit | 2c23d1066f947e697240f5e61529c5b48407fa08 (patch) | |
tree | 6f9bebc525a516d19ded1e3e7ae4b6067953e8b8 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 88c760b2eac861298535dac6df89b8a14152efe9 (diff) |
gpu: nvgpu: Add class numbers to characteristics
Some kernel APIs rely on user space knowing class numbers. Allow
querying the numbers from kernel.
Bug 1567274
Change-Id: Idec2fe8ee983ee74bcbf9dfc98f71bbcc1492cfb
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/594402
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index e3392ae8..a56614ab 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -700,7 +700,8 @@ enum { | |||
700 | FERMI_TWOD_A = 0x902D, | 700 | FERMI_TWOD_A = 0x902D, |
701 | KEPLER_COMPUTE_A = 0xA0C0, | 701 | KEPLER_COMPUTE_A = 0xA0C0, |
702 | KEPLER_INLINE_TO_MEMORY_A = 0xA040, | 702 | KEPLER_INLINE_TO_MEMORY_A = 0xA040, |
703 | KEPLER_DMA_COPY_A = 0xA0B5, /*not sure about this one*/ | 703 | KEPLER_DMA_COPY_A = 0xA0B5, |
704 | KEPLER_CHANNEL_GPFIFO_C = 0xA26F, | ||
704 | }; | 705 | }; |
705 | 706 | ||
706 | static inline int support_gk20a_pmu(struct platform_device *dev) | 707 | static inline int support_gk20a_pmu(struct platform_device *dev) |