From bc47d822298b9f3b2f93a384a7780a3763fee495 Mon Sep 17 00:00:00 2001 From: Richard Zhao Date: Thu, 2 Mar 2017 11:00:17 -0800 Subject: gpu: nvgpu: add NVGPU_GPU_FLAGS_SUPPORT_MAP_COMPBITS native gpu driver supports map compbits but vgpu does not. Bug 1778448 Bug 200275051 JIRA VFND-3513 Change-Id: I433a6f8631b495875ba899af9609203ab36187ef Signed-off-by: Richard Zhao Reviewed-on: http://git-master/r/1314065 Reviewed-by: mobile promotions Tested-by: mobile promotions --- include/uapi/linux/nvgpu.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/uapi') diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h index 3f358558..400d430b 100644 --- a/include/uapi/linux/nvgpu.h +++ b/include/uapi/linux/nvgpu.h @@ -135,6 +135,8 @@ struct nvgpu_gpu_zbc_query_table_args { #define NVGPU_GPU_FLAGS_SUPPORT_DEVICE_EVENTS (1ULL << 15) /* FECS context switch tracing is available */ #define NVGPU_GPU_FLAGS_SUPPORT_FECS_CTXSW_TRACE (1ULL << 16) +/* NVGPU_AS_IOCTL_MAP_BUFFER_COMPBITS is available */ +#define NVGPU_GPU_FLAGS_SUPPORT_MAP_COMPBITS (1ULL << 17) struct nvgpu_gpu_characteristics { __u32 arch; -- cgit v1.2.2