drm/amdgpu/gfx: add definition of mmCGTT_GS_NGG_CLK_CTRL
authorXiaojie Yuan <xiaojie.yuan@amd.com>
Thu, 14 Feb 2019 01:06:10 +0000 (09:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:17:59 +0000 (14:17 -0500)
Needed for clockgating.

Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c

index 225be8973536ace05704c585466d55b786ac87d9..37eb5f3cae199010ffa6abb659ddbf2fb0056749 100644 (file)
@@ -56,6 +56,9 @@
 #define F32_CE_PROGRAM_RAM_SIZE                65536
 #define RLCG_UCODE_LOADING_START_ADDRESS       0x00002000L
 
+#define mmCGTT_GS_NGG_CLK_CTRL 0x5087
+#define mmCGTT_GS_NGG_CLK_CTRL_BASE_IDX        1
+
 MODULE_FIRMWARE("amdgpu/navi10_ce.bin");
 MODULE_FIRMWARE("amdgpu/navi10_pfp.bin");
 MODULE_FIRMWARE("amdgpu/navi10_me.bin");