summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSam Payne <spayne@nvidia.com>2015-06-09 12:17:00 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2015-06-23 11:51:14 -0400
commitc6b396729bcdb2988878ea6acd256becef3d7cd9 (patch)
treed34c89bc421754e545f094a8db8a875b7ca23d57 /include
parent3107c949ba8c5082d3eb908b27b8082e9622b707 (diff)
gpu: nvgpu: update flush L2 ioctl definition
this ioctl can be called only by a ctrlfd created from the /dev/nvhost-ctrl-gpu node therefore NVGPU_GPU_IOCTL_MAGIC, not NVGPU_DBG_GPU_IOCTL_MAGIC should be used for this bug 200111987 Change-Id: I9fce7eae9f8203a15270ac1d25b575aebd9ccf88 Signed-off-by: Sam Payne <spayne@nvidia.com> Reviewed-on: http://git-master/r/755164 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> (cherry picked from commit 609d45ddd98c31ecd089d2e213ee1b6c560fc21e) Reviewed-on: http://git-master/r/760830
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/nvgpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h
index 5f49c9cf..f7b68380 100644
--- a/include/uapi/linux/nvgpu.h
+++ b/include/uapi/linux/nvgpu.h
@@ -332,7 +332,7 @@ struct nvgpu_gpu_vsms_mapping {
332#define NVGPU_GPU_IOCTL_OPEN_CHANNEL \ 332#define NVGPU_GPU_IOCTL_OPEN_CHANNEL \
333 _IOWR(NVGPU_GPU_IOCTL_MAGIC, 11, struct nvgpu_gpu_open_channel_args) 333 _IOWR(NVGPU_GPU_IOCTL_MAGIC, 11, struct nvgpu_gpu_open_channel_args)
334#define NVGPU_GPU_IOCTL_FLUSH_L2 \ 334#define NVGPU_GPU_IOCTL_FLUSH_L2 \
335 _IOWR(NVGPU_DBG_GPU_IOCTL_MAGIC, 12, struct nvgpu_gpu_l2_fb_args) 335 _IOWR(NVGPU_GPU_IOCTL_MAGIC, 12, struct nvgpu_gpu_l2_fb_args)
336#define NVGPU_GPU_IOCTL_INVAL_ICACHE \ 336#define NVGPU_GPU_IOCTL_INVAL_ICACHE \
337 _IOWR(NVGPU_GPU_IOCTL_MAGIC, 13, struct nvgpu_gpu_inval_icache_args) 337 _IOWR(NVGPU_GPU_IOCTL_MAGIC, 13, struct nvgpu_gpu_inval_icache_args)
338#define NVGPU_GPU_IOCTL_SET_MMUDEBUG_MODE \ 338#define NVGPU_GPU_IOCTL_SET_MMUDEBUG_MODE \