aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-10-13 17:36:46 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-10-25 14:38:44 -0400
commit623fea1868ee49965bdaa73fe27c64430de5179e (patch)
tree7d928d47185a02d346a90860dcf4cd30ebe13870 /drivers/gpu/drm/amd/amdgpu/dce_virtual.c
parentdrm/amdgpu: enable virtual dce on SI (diff)
downloadlinux-dev-623fea1868ee49965bdaa73fe27c64430de5179e.tar.xz
linux-dev-623fea1868ee49965bdaa73fe27c64430de5179e.zip
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,