Skip to content

drm/amdgpu: Add virtual display feature.

Emily Deng amd-gfx dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 13 patches 6 repliesIn review

Patches in v1 No applies recorded yet

None of the 13 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/13] drm/amdgpu: Add virtual display feature.

The Virtual Display feature is to fake a display engine in amdgpu kernel driver, which allows any other kernel modules or user mode components to work as expected even without real display HW. User can get the desktop/primary surface through remote desktop tools instead of displaying HW associated with the GPU. The virtual display feature is designed for following cases:
1)Headless GPU, which has no display engine, while for some reason the X server is required to initialize in this GPU;
2)GPU with head (display engine) but Video BIOS disables display capability for some reason. For example, SR-IOV virtualization enabled Video BIOS often disables display connector. Some S-series Pro-Graphics designed for headless computer also disable display capability in Video BIOS; 3)For whatever reason, end user wants to enable a virtual display (don’t need HW display capability).

Emily Deng (13):
drm/amdgpu: Add virtual connector and encoder macros. drm/amdgpu: Initialize dce_virtual_ip_funcs
drm/amdgpu: Initialize dce_virtual_display_funcs. drm/amdgpu: Initialize crtc, pageflip irq funcs drm/amdgpu: Initialize dce_virtual_crtc_helper_funcs drm/amdgpu: Initialize dce_virtual_crtc_funcs. drm/amdgpu: Disable VGA render and crtc when init GMC. drm/amdgpu: Use software timer to generate vsync interrupt. drm/amdgpu: Call pageflip irq funtion when receiced vsync interrupt. drm/amdgpu: Add DRM_MODE_CONNECTOR_VIRTUAL connector in
amdgpu_connector_add.
drm/amdgpu: Define vitual display ip blocks.
drm/amdgpu: Define one variable for virtual display. drm/amdgpu: Set ip_blocks according variable amdgpu_virtual_display.

 drivers/gpu/drm/amd/amdgpu/Makefile            |   3 +-
 drivers/gpu/drm/amd/amdgpu/ObjectID.h          |   7 +
 drivers/gpu/drm/amd/amdgpu/amdgpu.h            |   3 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c   |  27 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h   |   2 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c |  95 +++
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c     |   5 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c    |   5 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c        |   4 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h       |   9 +-
 drivers/gpu/drm/amd/amdgpu/cik.c               | 445 +++++++++++--
 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c         |  75 +++
 drivers/gpu/drm/amd/amdgpu/dce_v10_0.h         |   2 +
 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c         |  83 +++
 drivers/gpu/drm/amd/amdgpu/dce_v11_0.h         |   2 +
 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c          |  82 +++
 drivers/gpu/drm/amd/amdgpu/dce_v8_0.h          |   2 +
 drivers/gpu/drm/amd/amdgpu/dce_virtual.c       | 855 +++++++++++++++++++++++++
 drivers/gpu/drm/amd/amdgpu/dce_virtual.h       |  31 +
 drivers/gpu/drm/amd/amdgpu/vi.c                | 416 ++++++++++--
 20 files changed, 2062 insertions(+), 91 deletions(-)
 create mode 100644 drivers/gpu/drm/amd/amdgpu/dce_virtual.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/dce_virtual.h
Signature · 6 lines
1.9.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx