2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 22:24:09 +08:00
linux-next/drivers/gpu/drm/bochs
Mark Cave-Ayland 931e8c661a drm/bochs: switch fb_ops over to use drm_fb_helper_cfb helpers
The current drm_fb_helper_sys helpers referenced in fb_ops assume that the
video memory is in system RAM. This is not the case for sparc which uses direct
physical memory accesses for IO memory and causes the bochs_drm module to panic
immediately upon startup as it tries to initialise the framebuffer.

Switching fb_ops over to use the drm_fb_helper_cfb helpers ensures that the
correct accesses are used on sparc, fixing the panic and allowing the
bochs_drm module to function under qemu-system-sparc64.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1499032363-8290-1-git-send-email-mark.cave-ayland@ilande.co.uk
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2017-07-03 10:31:14 +02:00
..
bochs_drv.c drm/pci: Deprecate drm_pci_init/exit completely 2017-06-20 10:41:03 +02:00
bochs_fbdev.c drm/bochs: switch fb_ops over to use drm_fb_helper_cfb helpers 2017-07-03 10:31:14 +02:00
bochs_hw.c drm/bochs: disable video before changing video mode 2015-04-01 08:28:15 +10:00
bochs_kms.c drm: Add acquire ctx parameter to ->page_flip(_target) 2017-03-29 09:50:38 +02:00
bochs_mm.c drm/ttm: add io_mem_pfn callback 2017-04-04 23:33:42 -04:00
bochs.h drm/bochs: fix include notation and remove -Iinclude/drm flag 2017-05-16 17:18:23 +02:00
Kconfig drm: fix compilations issues introduced by "drm: allow to use mmuless SoC" 2017-01-09 11:30:30 +01:00
Makefile drm/bochs: fix include notation and remove -Iinclude/drm flag 2017-05-16 17:18:23 +02:00