summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorRex Zhu2016-12-09 06:27:27 +0100
committerAlex Deucher2016-12-15 21:16:25 +0100
commit398d82ccbd8b97e67d2503f09345de5d63a80c56 (patch)
tree8c8e5e3799ab8d57652ef18355ff70b3d784f815 /drivers/gpu
parentdrm/amdgpu: fix pg can't be disabled by PG mask. (diff)
downloadkernel-qcow2-linux-398d82ccbd8b97e67d2503f09345de5d63a80c56.tar.gz
kernel-qcow2-linux-398d82ccbd8b97e67d2503f09345de5d63a80c56.tar.xz
kernel-qcow2-linux-398d82ccbd8b97e67d2503f09345de5d63a80c56.zip
drm/amdgpu: add new gfx cg flags.
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/include/amd_shared.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h
index d1986276dbbd..c02469ada9f1 100644
--- a/drivers/gpu/drm/amd/include/amd_shared.h
+++ b/drivers/gpu/drm/amd/include/amd_shared.h
@@ -126,6 +126,10 @@ enum amd_vce_level {
#define AMD_CG_SUPPORT_HDP_LS (1 << 15)
#define AMD_CG_SUPPORT_HDP_MGCG (1 << 16)
#define AMD_CG_SUPPORT_ROM_MGCG (1 << 17)
+#define AMD_CG_SUPPORT_DRM_LS (1 << 18)
+#define AMD_CG_SUPPORT_BIF_MGCG (1 << 19)
+#define AMD_CG_SUPPORT_GFX_3D_CGCG (1 << 20)
+#define AMD_CG_SUPPORT_GFX_3D_CGLS (1 << 21)
/* PG flags */
#define AMD_PG_SUPPORT_GFX_PG (1 << 0)