From 2c23d1066f947e697240f5e61529c5b48407fa08 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Wed, 5 Nov 2014 10:12:17 +0200 Subject: 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 Reviewed-on: http://git-master/r/594402 --- drivers/gpu/nvgpu/gm20b/gr_gm20b.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.h') diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.h b/drivers/gpu/nvgpu/gm20b/gr_gm20b.h index 8348b9d9..470e5bae 100644 --- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.h @@ -18,9 +18,11 @@ struct gk20a; enum { - MAXWELL_B = 0xB197, - MAXWELL_COMPUTE_B = 0xB1C0, - MAXWELL_DMA_COPY_A = 0xB0B5, + MAXWELL_B = 0xB197, + MAXWELL_COMPUTE_B = 0xB1C0, + KEPLER_INLINE_TO_MEMORY_B= 0xA140, + MAXWELL_DMA_COPY_A = 0xB0B5, + MAXWELL_CHANNEL_GPFIFO_A= 0xB06F, }; #define NVB197_SET_ALPHA_CIRCULAR_BUFFER_SIZE 0x02dc -- cgit v1.2.2