From: Xiaojie Yuan Date: Thu, 14 Feb 2019 01:06:10 +0000 (+0800) Subject: drm/amdgpu/gfx: add definition of mmCGTT_GS_NGG_CLK_CTRL X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=58acab6629e114733dd1e2664b1be24647f5f536;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu/gfx: add definition of mmCGTT_GS_NGG_CLK_CTRL Needed for clockgating. Signed-off-by: Xiaojie Yuan Reviewed-by: Feifei Xu Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index 225be8973536..37eb5f3cae19 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c @@ -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");