diff options
author | Emily Deng <Emily.Deng@amd.com> | 2016-08-07 23:37:29 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-08-08 14:33:28 -0400 |
commit | e443059d0f41fcc07f0fb6b3b8ae96dc3d2364c7 (patch) | |
tree | 9067e2457d87310225091a2db3536b126c60a902 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | e9ed3a67cd1bfd8d0d0dc4968a36f6ea4db2d45a (diff) |
drm/amdgpu: Define one variable for virtual display.
For virtual display feature, define on variable in amdgpu.ko. When want to
enable virtual display feature, need set the option "amdgpu.virtual_display=1".
And then disable vga render and crtc if have DCE engine.
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/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 12112cc65dae..54f71565e6cc 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -92,6 +92,7 @@ extern unsigned amdgpu_cg_mask; | |||
92 | extern unsigned amdgpu_pg_mask; | 92 | extern unsigned amdgpu_pg_mask; |
93 | extern char *amdgpu_disable_cu; | 93 | extern char *amdgpu_disable_cu; |
94 | extern int amdgpu_sclk_deep_sleep_en; | 94 | extern int amdgpu_sclk_deep_sleep_en; |
95 | extern int amdgpu_virtual_display; | ||
95 | 96 | ||
96 | #define AMDGPU_WAIT_IDLE_TIMEOUT_IN_MS 3000 | 97 | #define AMDGPU_WAIT_IDLE_TIMEOUT_IN_MS 3000 |
97 | #define AMDGPU_MAX_USEC_TIMEOUT 100000 /* 100 ms */ | 98 | #define AMDGPU_MAX_USEC_TIMEOUT 100000 /* 100 ms */ |