aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-11-28 12:42:43 +0100
committerMichael S. Tsirkin <mst@redhat.com>2020-02-27 10:33:37 -0500
commit0c0dd715152cbbdc1d87e8d193d4c56d2b0bb5fe (patch)
treea4d920fbf7fcc54ec9679c49bfdbf917f99d14d0
parent61124330bf1cadf8059e21ecf5766360ec19e742 (diff)
downloadvirtio-text-0c0dd715152cbbdc1d87e8d193d4c56d2b0bb5fe.tar.gz
virtio-gpu: some edid clarifications
Add some notes about fetching the EDID information. Fixes: https://github.com/oasis-tcs/virtio-spec/issues/64 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r--virtio-gpu.tex13
1 files changed, 9 insertions, 4 deletions
diff --git a/virtio-gpu.tex b/virtio-gpu.tex
index 9098e65..ccae624 100644
--- a/virtio-gpu.tex
+++ b/virtio-gpu.tex
@@ -70,16 +70,21 @@ struct virtio_gpu_config {
\begin{description}
\item[VIRTIO_GPU_EVENT_DISPLAY] Display configuration has changed.
The driver SHOULD use the VIRTIO_GPU_CMD_GET_DISPLAY_INFO command to
- fetch the information from the device.
+ fetch the information from the device. In case EDID support is
+ negotiated (VIRTIO_GPU_F_EDID feature flag) the device SHOULD also
+ fetch the updated EDID blobs using the VIRTIO_GPU_CMD_GET_EDID
+ command.
\end{description}
\devicenormative{\subsection}{Device Initialization}{Device Types / GPU Device / Device Initialization}
The driver SHOULD query the display information from the device using
the VIRTIO_GPU_CMD_GET_DISPLAY_INFO command and use that information
-for the initial scanout setup. In case no information is available or
-all displays are disabled the driver MAY choose to use a fallback,
-such as 1024x768 at display 0.
+for the initial scanout setup. In case EDID support is negotiated
+(VIRTIO_GPU_F_EDID feature flag) the device SHOULD also fetch the EDID
+information using the VIRTIO_GPU_CMD_GET_EDID command. If no
+information is available or all displays are disabled the driver MAY
+choose to use a fallback, such as 1024x768 at display 0.
\subsection{Device Operation}\label{sec:Device Types / GPU Device / Device Operation}