diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-10-29 21:50:48 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-10-30 14:42:28 +0100 |
commit | 01f23459cf93a57d11bd93e660460f135b237af5 (patch) | |
tree | 0f3363e3d50b27e06940ea134e88515351defaa1 /drivers/gpu/drm/bochs/bochs.h | |
parent | drm/rockchip: dsi: add dual mipi support (diff) | |
download | linux-01f23459cf93a57d11bd93e660460f135b237af5.tar.xz linux-01f23459cf93a57d11bd93e660460f135b237af5.zip |
drm/bochs: add edid support.
Recent qemu (latest master branch, upcoming 3.1 release) got support
for EDID data. This patch adds guest driver support.
EDID support in qemu is not (yet) enabled by default, so please use
'qemu -device VGA,edid=on' for testing.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20181029205048.13200-1-kraxel@redhat.com
Diffstat (limited to 'drivers/gpu/drm/bochs/bochs.h')
-rw-r--r-- | drivers/gpu/drm/bochs/bochs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/bochs/bochs.h b/drivers/gpu/drm/bochs/bochs.h index e7a69077e45a..577a8b917cb9 100644 --- a/drivers/gpu/drm/bochs/bochs.h +++ b/drivers/gpu/drm/bochs/bochs.h @@ -66,6 +66,7 @@ struct bochs_device { u16 yres_virtual; u32 stride; u32 bpp; + struct edid *edid; /* drm */ struct drm_device *dev; @@ -126,6 +127,7 @@ void bochs_hw_setmode(struct bochs_device *bochs, const struct drm_format_info *format); void bochs_hw_setbase(struct bochs_device *bochs, int x, int y, u64 addr); +int bochs_hw_load_edid(struct bochs_device *bochs); /* bochs_mm.c */ int bochs_mm_init(struct bochs_device *bochs); |