drm/amdgpu: Add a new flag to AMDGPU_CTX_OP_QUERY_STATE2
authorxinhui pan <xinhui.pan@amd.com>
Mon, 17 Dec 2018 06:31:12 +0000 (14:31 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:36:51 +0000 (15:36 -0500)
commitae363a212b145a0d4e0507e26e6c1b937181ec34
treeb09dd859ca174520322d07fc78d27e748db812d6
parent791c47694f01663a69b5c61baf88be400e7881ad
drm/amdgpu: Add a new flag to AMDGPU_CTX_OP_QUERY_STATE2

Add AMDGPU_CTX_QUERY2_FLAGS_RAS_CE/UE which indicate if any error happened
between previous query and this query.

Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h
include/uapi/drm/amdgpu_drm.h