From c6b396729bcdb2988878ea6acd256becef3d7cd9 Mon Sep 17 00:00:00 2001 From: Sam Payne Date: Tue, 9 Jun 2015 09:17:00 -0700 Subject: 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 Reviewed-on: http://git-master/r/755164 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Terje Bergstrom (cherry picked from commit 609d45ddd98c31ecd089d2e213ee1b6c560fc21e) Reviewed-on: http://git-master/r/760830 --- include/uapi/linux/nvgpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/uapi/linux') 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 { #define NVGPU_GPU_IOCTL_OPEN_CHANNEL \ _IOWR(NVGPU_GPU_IOCTL_MAGIC, 11, struct nvgpu_gpu_open_channel_args) #define NVGPU_GPU_IOCTL_FLUSH_L2 \ - _IOWR(NVGPU_DBG_GPU_IOCTL_MAGIC, 12, struct nvgpu_gpu_l2_fb_args) + _IOWR(NVGPU_GPU_IOCTL_MAGIC, 12, struct nvgpu_gpu_l2_fb_args) #define NVGPU_GPU_IOCTL_INVAL_ICACHE \ _IOWR(NVGPU_GPU_IOCTL_MAGIC, 13, struct nvgpu_gpu_inval_icache_args) #define NVGPU_GPU_IOCTL_SET_MMUDEBUG_MODE \ -- cgit v1.2.2