summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQiang Yu <Qiang.Yu@amd.com>2017-05-03 14:13:42 +0800
committerQiang Yu <Qiang.Yu@amd.com>2017-05-17 11:19:54 +0800
commit8d2fb473b5fb339b2d89c34106b46cec697863c0 (patch)
tree5e2ac9210142c5571ca0c3a176b28b61e65121f3
parent8b42194c42051567cfc6d1324f01992898f65092 (diff)
amdgpu: [HYBRID] add AMDGPU_CAPABILITY_SSG_FLAG
This is for UMD be able to query SSG present. Change-Id: Id52286984c8a43b77ad443799b267a6d0b23df54 Signed-off-by: Qiang Yu <Qiang.Yu@amd.com> Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com> Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
-rw-r--r--include/drm/amdgpu_drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h
index cccb91d7..f758548a 100644
--- a/include/drm/amdgpu_drm.h
+++ b/include/drm/amdgpu_drm.h
@@ -951,6 +951,8 @@ struct drm_amdgpu_virtual_range {
#define AMDGPU_CAPABILITY_PIN_MEM_FLAG (1 << 0)
/* query direct gma capability */
#define AMDGPU_CAPABILITY_DIRECT_GMA_FLAG (1 << 1)
+/* query ssg capability */
+#define AMDGPU_CAPABILITY_SSG_FLAG (1 << 2)
struct drm_amdgpu_capability {
uint32_t flag;