summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/sid.h
diff options
context:
space:
mode:
authorAlex Jivin <alex.jivin@amd.com>2020-06-24 18:45:36 +0300
committerAlex Deucher <alexander.deucher@amd.com>2020-07-02 19:02:49 +0300
commit3b0627a4b69671b2a81c125c3ae0456860764068 (patch)
tree47a8e543f91f0f309c3ee5b3e8a8354386b22f5b /drivers/gpu/drm/amd/amdgpu/sid.h
parent9555152beb1143c85c03f9b9de59863cbbe89f4b (diff)
downloadlinux-3b0627a4b69671b2a81c125c3ae0456860764068.tar.xz
drm/amdgpu: SI support for UVD clock control
Port functionality from the Radeon driver to support UVD clock control. Signed-off-by: Alex Jivin <alex.jivin@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/sid.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/sid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sid.h b/drivers/gpu/drm/amd/amdgpu/sid.h
index 5f660f0c819f..262da0fc8b2e 100644
--- a/drivers/gpu/drm/amd/amdgpu/sid.h
+++ b/drivers/gpu/drm/amd/amdgpu/sid.h
@@ -47,6 +47,7 @@
#define SI_MAX_LDS_NUM 0xFFFF
#define SI_MAX_TCC 16
#define SI_MAX_TCC_MASK 0xFFFF
+#define SI_MAX_CTLACKS_ASSERTION_WAIT 100
#define AMDGPU_NUM_OF_VMIDS 8