| /OK3568_Linux_fs/kernel/drivers/gpu/drm/bochs/ |
| H A D | bochs_hw.c | 14 static void bochs_vga_writeb(struct bochs_device *bochs, u16 ioport, u8 val) in bochs_vga_writeb() argument 19 if (bochs->mmio) { in bochs_vga_writeb() 21 writeb(val, bochs->mmio + offset); in bochs_vga_writeb() 27 static u16 bochs_dispi_read(struct bochs_device *bochs, u16 reg) in bochs_dispi_read() argument 31 if (bochs->mmio) { in bochs_dispi_read() 33 ret = readw(bochs->mmio + offset); in bochs_dispi_read() 41 static void bochs_dispi_write(struct bochs_device *bochs, u16 reg, u16 val) in bochs_dispi_write() argument 43 if (bochs->mmio) { in bochs_dispi_write() 45 writew(val, bochs->mmio + offset); in bochs_dispi_write() 52 static void bochs_hw_set_big_endian(struct bochs_device *bochs) in bochs_hw_set_big_endian() argument [all …]
|
| H A D | bochs_kms.c | 28 static void bochs_plane_update(struct bochs_device *bochs, in bochs_plane_update() argument 34 if (!state->fb || !bochs->stride) in bochs_plane_update() 42 bochs_hw_setbase(bochs, in bochs_plane_update() 47 bochs_hw_setformat(bochs, state->fb->format); in bochs_plane_update() 54 struct bochs_device *bochs = pipe->crtc.dev->dev_private; in bochs_pipe_enable() local 56 bochs_hw_setmode(bochs, &crtc_state->mode); in bochs_pipe_enable() 57 bochs_plane_update(bochs, plane_state); in bochs_pipe_enable() 63 struct bochs_device *bochs = pipe->crtc.dev->dev_private; in bochs_pipe_update() local 65 bochs_plane_update(bochs, pipe->plane.state); in bochs_pipe_update() 77 struct bochs_device *bochs = in bochs_connector_get_modes() local [all …]
|
| H A D | bochs_mm.c | 9 int bochs_mm_init(struct bochs_device *bochs) in bochs_mm_init() argument 13 vmm = drm_vram_helper_alloc_mm(bochs->dev, bochs->fb_base, in bochs_mm_init() 14 bochs->fb_size); in bochs_mm_init() 18 void bochs_mm_fini(struct bochs_device *bochs) in bochs_mm_fini() argument 20 if (!bochs->dev->vram_mm) in bochs_mm_fini() 23 drm_vram_helper_release_mm(bochs->dev); in bochs_mm_fini()
|
| H A D | bochs_drv.c | 23 struct bochs_device *bochs = dev->dev_private; in bochs_unload() local 25 bochs_mm_fini(bochs); in bochs_unload() 30 struct bochs_device *bochs; in bochs_load() local 33 bochs = drmm_kzalloc(dev, sizeof(*bochs), GFP_KERNEL); in bochs_load() 34 if (bochs == NULL) in bochs_load() 36 dev->dev_private = bochs; in bochs_load() 37 bochs->dev = dev; in bochs_load() 43 ret = bochs_mm_init(bochs); in bochs_load() 47 ret = bochs_kms_init(bochs); in bochs_load()
|
| H A D | bochs.h | 81 void bochs_hw_setmode(struct bochs_device *bochs, 83 void bochs_hw_setformat(struct bochs_device *bochs, 85 void bochs_hw_setbase(struct bochs_device *bochs, 87 int bochs_hw_load_edid(struct bochs_device *bochs); 90 int bochs_mm_init(struct bochs_device *bochs); 91 void bochs_mm_fini(struct bochs_device *bochs); 94 int bochs_kms_init(struct bochs_device *bochs);
|
| H A D | Makefile | 2 bochs-drm-y := bochs_drv.o bochs_mm.o bochs_kms.o bochs_hw.o 4 obj-$(CONFIG_DRM_BOCHS) += bochs-drm.o
|
| H A D | Kconfig | 3 tristate "DRM Support for bochs dispi vga interface (qemu stdvga)" 11 If M is selected the module will be called bochs-drm.
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-kernel/linux/ |
| H A D | linux-yocto-rt_5.10.bb | 41 KERNEL_FEATURES:append:qemuall=" cfg/virtio.scc features/drm-bochs/drm-bochs.scc"
|
| H A D | linux-yocto-rt_5.15.bb | 41 KERNEL_FEATURES:append:qemuall=" cfg/virtio.scc features/drm-bochs/drm-bochs.scc"
|
| H A D | linux-yocto_5.10.bb | 50 KERNEL_FEATURES:append:qemuall=" cfg/virtio.scc features/drm-bochs/drm-bochs.scc"
|
| H A D | linux-yocto_5.15.bb | 59 KERNEL_FEATURES:append:qemuall=" cfg/virtio.scc features/drm-bochs/drm-bochs.scc"
|
| H A D | linux-yocto-dev.bb | 58 KERNEL_FEATURES:append:qemuall=" cfg/virtio.scc features/drm-bochs/drm-bochs.scc"
|
| /OK3568_Linux_fs/yocto/poky/meta/conf/machine/include/riscv/ |
| H A D | qemuriscv.inc | 38 QB_GRAPHICS = "-device bochs-display"
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-bsp/grub/files/ |
| H A D | video-Remove-trailing-whitespaces.patch | 16 grub-core/video/bochs.c | 2 +- 36 diff --git a/grub-core/video/bochs.c b/grub-core/video/bochs.c 38 --- a/grub-core/video/bochs.c 39 +++ b/grub-core/video/bochs.c
|
| /OK3568_Linux_fs/kernel/samples/ |
| H A D | Kconfig | 180 Emulate enough of qemu stdvga to make bochs-drm.ko happy. 181 That is basically the vram memory bar and the bochs dispi
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | Makefile | 100 obj-$(CONFIG_DRM_BOCHS) += bochs/
|
| H A D | Kconfig | 355 source "drivers/gpu/drm/bochs/Kconfig"
|
| /OK3568_Linux_fs/kernel/ |
| H A D | MAINTAINERS | 5479 F: drivers/gpu/drm/bochs/
|