drm/amd/amdgpu: For virtual display, enable multi crtcs. (v3)
authorEmily Deng <Emily.Deng@amd.com>
Fri, 30 Sep 2016 17:02:18 +0000 (13:02 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Oct 2016 18:38:07 +0000 (14:38 -0400)
commit0f66356d24c6950bf6b1a47df7c77ca57305074d
tree54fd08d5459182f64334431bcc3e4e77bf8ca628
parent483ef98588aa9f2236392f505beadb621f288861
drm/amd/amdgpu: For virtual display, enable multi crtcs. (v3)

Enable multi crtcs for virtual display, user can set the number of crtcs
by amdgpu module parameter  virtual_display.

v2: make timers per crtc
v3: agd: simplify implementation

Signed-off-by: Emily Deng <Emily.Deng@amd.com>
Reviewed-By: Emily Deng <Emily.Deng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
drivers/gpu/drm/amd/amdgpu/dce_virtual.c