summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-10-14 00:36:46 +0300
committerAlex Deucher <alexander.deucher@amd.com>2016-10-25 21:38:44 +0300
commit623fea1868ee49965bdaa73fe27c64430de5179e (patch)
tree7d928d47185a02d346a90860dcf4cd30ebe13870 /drivers/gpu/drm/amd/amdgpu/dce_virtual.c
parent2120df475d6d5c7db1b888a8e26a5a51ce56e860 (diff)
downloadlinux-623fea1868ee49965bdaa73fe27c64430de5179e.tar.xz
drm/amdgpu/virtual_dce: move define into source file
It's not used outside the file. Reviewed-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/dce_virtual.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/dce_virtual.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c b/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
index 226b914aa315..7d041b9a4d61 100644
--- a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
+++ b/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
@@ -37,6 +37,9 @@
#include "dce_v11_0.h"
#include "dce_virtual.h"
+#define DCE_VIRTUAL_VBLANK_PERIOD 16666666
+
+
static void dce_virtual_set_display_funcs(struct amdgpu_device *adev);
static void dce_virtual_set_irq_funcs(struct amdgpu_device *adev);
static int dce_virtual_connector_encoder_init(struct amdgpu_device *adev,