[Spice-devel] [PATCH qxl-wddm-dod] Indicate all Qxl devices as VGA
Frediano Ziglio
fziglio at redhat.com
Wed Oct 19 17:01:59 UTC 2016
> Currently the qxl device with id 0 is being set as an internal display
> while all the rest are set as VGA connector. This commit solves this
> issue that was discussed in detail here:
> https://bugzilla.redhat.com/show_bug.cgi?id=1314600
>
> Signed-off-by: Sameeh Jubran <sameeh at daynix.com>
Acked-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> qxldod/QxlDod.cpp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp
> index 1edd736..ca35acb 100755
> --- a/qxldod/QxlDod.cpp
> +++ b/qxldod/QxlDod.cpp
> @@ -317,7 +317,7 @@ NTSTATUS
> QxlDod::QueryChildRelations(_Out_writes_bytes_(ChildRelationsSize) DXGK
> {
> pChildRelations[ChildIndex].ChildDeviceType = TypeVideoOutput;
> pChildRelations[ChildIndex].ChildCapabilities.HpdAwareness =
> (DeviceId == 0) ? HpdAwarenessAlwaysConnected :
> HpdAwarenessInterruptible;
> -
> pChildRelations[ChildIndex].ChildCapabilities.Type.VideoOutput.InterfaceTechnology
> = (DeviceId == 0) ? D3DKMDT_VOT_INTERNAL : D3DKMDT_VOT_HD15;
> +
> pChildRelations[ChildIndex].ChildCapabilities.Type.VideoOutput.InterfaceTechnology
> = D3DKMDT_VOT_HD15;
> pChildRelations[ChildIndex].ChildCapabilities.Type.VideoOutput.MonitorOrientationAwareness
> = D3DKMDT_MOA_NONE;
> pChildRelations[ChildIndex].ChildCapabilities.Type.VideoOutput.SupportsSdtvModes
> = FALSE;
> // TODO: Replace 0 with the actual ACPI ID of the child device, if
> available
Frediano
More information about the Spice-devel
mailing list