Indicate all Qxl devices as VGA
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@daynix.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
9501316d4c
commit
1afadc7aeb
@ -315,7 +315,7 @@ NTSTATUS QxlDod::QueryChildRelations(_Out_writes_bytes_(ChildRelationsSize) DXGK
|
|||||||
{
|
{
|
||||||
pChildRelations[ChildIndex].ChildDeviceType = TypeVideoOutput;
|
pChildRelations[ChildIndex].ChildDeviceType = TypeVideoOutput;
|
||||||
pChildRelations[ChildIndex].ChildCapabilities.HpdAwareness = (DeviceId == 0) ? HpdAwarenessAlwaysConnected : HpdAwarenessInterruptible;
|
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.MonitorOrientationAwareness = D3DKMDT_MOA_NONE;
|
||||||
pChildRelations[ChildIndex].ChildCapabilities.Type.VideoOutput.SupportsSdtvModes = FALSE;
|
pChildRelations[ChildIndex].ChildCapabilities.Type.VideoOutput.SupportsSdtvModes = FALSE;
|
||||||
// TODO: Replace 0 with the actual ACPI ID of the child device, if available
|
// TODO: Replace 0 with the actual ACPI ID of the child device, if available
|
||||||
|
Loading…
Reference in New Issue
Block a user