drm/amdgpu: Define one variable for virtual display.
authorEmily Deng <Emily.Deng@amd.com>
Mon, 8 Aug 2016 03:37:29 +0000 (11:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Aug 2016 18:33:28 +0000 (14:33 -0400)
commite443059d0f41fcc07f0fb6b3b8ae96dc3d2364c7
tree9067e2457d87310225091a2db3536b126c60a902
parente9ed3a67cd1bfd8d0d0dc4968a36f6ea4db2d45a
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>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c