OSDN Git Service

drm/bochs: downgrade pci_request_region failure from error to warning
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 13 Mar 2020 08:41:52 +0000 (09:41 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 13 Mar 2020 14:34:19 +0000 (15:34 +0100)
commit8c34cd1a7f089dc03933289c5d4a4d1489549828
tree920dacdc48ae4bcb39f7d98d28085dac7f3b0d20
parent9803aac7b5508718989e4cde11b854fc01037b01
drm/bochs: downgrade pci_request_region failure from error to warning

Shutdown of firmware framebuffer has a bunch of problems.  Because
of this the framebuffer region might still be reserved even after
drm_fb_helper_remove_conflicting_pci_framebuffers() returned.

Don't consider pci_request_region() failure for the framebuffer
region as fatal error to workaround this issue.

Reported-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20200313084152.2734-1-kraxel@redhat.com
drivers/gpu/drm/bochs/bochs_hw.c