mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
gpu: nvgpu: Add 3 functions to regops interface.
This change adds the following IOCTLS: - NVGPU_GPU_IOCTL_RESUME_FROM_PAUSE - NVGPU_GPU_IOCTL_TRIGGER_SUSPEND - NVGPU_GPU_IOCTL_CLEAR_SM_ERRORS Bug 1619430 Change-Id: Iac37d515a753d8b799e631224eae2fa168b43e2c Signed-off-by: ashutosh jain <ashutoshj@nvidia.com> Reviewed-on: http://git-master/r/921378 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
Terje Bergstrom
parent
14f43e8a97
commit
f6eb64fcb5
@@ -387,9 +387,15 @@ struct nvgpu_gpu_get_buffer_info_args {
|
||||
_IOWR(NVGPU_GPU_IOCTL_MAGIC, 19, struct nvgpu_gpu_vsms_mapping)
|
||||
#define NVGPU_GPU_IOCTL_GET_BUFFER_INFO \
|
||||
_IOWR(NVGPU_GPU_IOCTL_MAGIC, 20, struct nvgpu_gpu_get_buffer_info_args)
|
||||
#define NVGPU_GPU_IOCTL_RESUME_FROM_PAUSE \
|
||||
_IO(NVGPU_GPU_IOCTL_MAGIC, 21)
|
||||
#define NVGPU_GPU_IOCTL_TRIGGER_SUSPEND \
|
||||
_IO(NVGPU_GPU_IOCTL_MAGIC, 22)
|
||||
#define NVGPU_GPU_IOCTL_CLEAR_SM_ERRORS \
|
||||
_IO(NVGPU_GPU_IOCTL_MAGIC, 23)
|
||||
|
||||
#define NVGPU_GPU_IOCTL_LAST \
|
||||
_IOC_NR(NVGPU_GPU_IOCTL_GET_BUFFER_INFO)
|
||||
_IOC_NR(NVGPU_GPU_IOCTL_CLEAR_SM_ERRORS)
|
||||
#define NVGPU_GPU_IOCTL_MAX_ARG_SIZE \
|
||||
sizeof(struct nvgpu_gpu_prepare_compressible_read_args)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user