]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bochs: add edid present check
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 20 Dec 2018 10:11:21 +0000 (11:11 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 20 Dec 2018 12:25:28 +0000 (13:25 +0100)
commitc4a2fd39923514db4ed653d354babfff7f229058
tree0a64132be82aadd5e7b86971c1c078ffe00a5fef
parent1cf4da36d6c6cfdb42df13c9f2ec2c3c33df9ce9
drm/bochs: add edid present check

Check header before trying to read the complete edid blob, to avoid the
log being spammed in case qemu has no edid support (old qemu or edid
support turned off).

Fixes: d5ac6ed68d drm/bochs: add edid support.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20181220101122.16153-1-kraxel@redhat.com
drivers/gpu/drm/bochs/bochs_hw.c