drm/amdgpu: add ioctl query for enabled ras features (v2)
authorxinhui pan <xinhui.pan@amd.com>
Mon, 17 Dec 2018 07:09:07 +0000 (15:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:36:51 +0000 (15:36 -0500)
commit5cb771143ed9552c672b6e1d6a3005a435b54e44
treef1b7aecb82be05c9c803698aba004d737e45f448
parentae363a212b145a0d4e0507e26e6c1b937181ec34
drm/amdgpu: add ioctl query for enabled ras features (v2)

Add a query for userspace to check which RAS features
are enabled.

v2: squash in warning fix

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_kms.c
include/uapi/drm/amdgpu_drm.h