diff options
author | Emily Deng <Emily.Deng@amd.com> | 2016-08-07 23:35:39 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-08-08 14:07:18 -0400 |
commit | 46ac3622437692c371f3e647dc29f99e14b4f596 (patch) | |
tree | 57aa5896cfe1f21ba7696f8bd5ed991f6c342419 /drivers/gpu/drm/amd/amdgpu/dce_virtual.h | |
parent | 83c9b0253b1136b1312fd2a0bfd173f625c65091 (diff) |
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.h | 2 |
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 d205d7f6f6ab..e239243f6ebc 100644 --- a/drivers/gpu/drm/amd/amdgpu/dce_virtual.h +++ b/drivers/gpu/drm/amd/amdgpu/dce_virtual.h | |||
@@ -25,5 +25,7 @@ | |||
25 | #define __DCE_VIRTUAL_H__ | 25 | #define __DCE_VIRTUAL_H__ |
26 | 26 | ||
27 | extern const struct amd_ip_funcs dce_virtual_ip_funcs; | 27 | extern const struct amd_ip_funcs dce_virtual_ip_funcs; |
28 | #define DCE_VIRTUAL_VBLANK_PERIOD 16666666 | ||
29 | |||
28 | #endif | 30 | #endif |
29 | 31 | ||