diff options
author | Emily Deng <Emily.Deng@amd.com> | 2016-08-08 11:35:39 +0800 |
---|---|---|
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 @@ #define __DCE_VIRTUAL_H__ extern const struct amd_ip_funcs dce_virtual_ip_funcs; +#define DCE_VIRTUAL_VBLANK_PERIOD 16666666 + #endif |