summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/dce_virtual.h
diff options
context:
space:
mode:
authorEmily Deng <Emily.Deng@amd.com>2016-08-08 11:35:39 +0800
committerAlex Deucher <alexander.deucher@amd.com>2016-08-08 14:07:18 -0400
commit46ac3622437692c371f3e647dc29f99e14b4f596 (patch)
tree57aa5896cfe1f21ba7696f8bd5ed991f6c342419 /drivers/gpu/drm/amd/amdgpu/dce_virtual.h
parent83c9b0253b1136b1312fd2a0bfd173f625c65091 (diff)
downloadop-kernel-dev-46ac3622437692c371f3e647dc29f99e14b4f596.zip
op-kernel-dev-46ac3622437692c371f3e647dc29f99e14b4f596.tar.gz
drm/amdgpu: Use software timer to generate vsync interrupt.
For virtual display feature, use the software timer to simulate the vsync interrupt. Signed-off-by: Emily Deng <Emily.Deng@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/dce_virtual.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/dce_virtual.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_virtual.h b/drivers/gpu/drm/amd/amdgpu/dce_virtual.h
index d205d7f..e239243 100644
--- a/drivers/gpu/drm/amd/amdgpu/dce_virtual.h
+++ b/drivers/gpu/drm/amd/amdgpu/dce_virtual.h
@@ -25,5 +25,7 @@
#define __DCE_VIRTUAL_H__
extern const struct amd_ip_funcs dce_virtual_ip_funcs;
+#define DCE_VIRTUAL_VBLANK_PERIOD 16666666
+
#endif
OpenPOWER on IntegriCloud