Displaying 10 results from an estimated 10 matches for "drm_fbdev_client_hotplug".
2019 Jul 04
2
[PATCH 0/5] Unmappable DRM client buffers for fbdev emulation
Hi
Am 03.07.19 um 21:27 schrieb Noralf Tr?nnes:
>
>
> Den 03.07.2019 10.32, skrev Thomas Zimmermann:
>> DRM client buffers are permanently mapped throughout their lifetime. This
>> prevents us from using generic framebuffer emulation for devices with
>> small dedicated video memory, such as ast or mgag200. With fb buffers
>> permanently mapped, such devices
2019 Jul 04
2
[PATCH 0/5] Unmappable DRM client buffers for fbdev emulation
Hi
Am 03.07.19 um 21:27 schrieb Noralf Tr?nnes:
>
>
> Den 03.07.2019 10.32, skrev Thomas Zimmermann:
>> DRM client buffers are permanently mapped throughout their lifetime. This
>> prevents us from using generic framebuffer emulation for devices with
>> small dedicated video memory, such as ast or mgag200. With fb buffers
>> permanently mapped, such devices
2019 Jul 04
0
[PATCH 0/5] Unmappable DRM client buffers for fbdev emulation
...lper,
#endif
drm_fb_helper_fill_info(fbi, fb_helper, sizes);
- if (fb->funcs->dirty) {
+ if (fb->funcs->dirty || fb_helper->use_shadow) {
struct fb_ops *fbops;
void *shadow;
@@ -2310,6 +2311,44 @@ static const struct drm_client_funcs
drm_fbdev_client_funcs = {
.hotplug = drm_fbdev_client_hotplug,
};
+static int _drm_fbdev_generic_setup(struct drm_device *dev, unsigned
int preferred_bpp, bool use_shadow)
+{
+ struct drm_fb_helper *fb_helper;
+ int ret;
+
+ WARN(dev->fb_helper, "fb_helper is already set!\n");
+
+ if (!drm_fbdev_emulation)
+ return 0;
+
+ fb_helper = kzalloc(s...
2019 Jul 04
2
[PATCH 0/5] Unmappable DRM client buffers for fbdev emulation
...fb_helper, sizes);
>
> - if (fb->funcs->dirty) {
> + if (fb->funcs->dirty || fb_helper->use_shadow) {
> struct fb_ops *fbops;
> void *shadow;
>
> @@ -2310,6 +2311,44 @@ static const struct drm_client_funcs
> drm_fbdev_client_funcs = {
> .hotplug = drm_fbdev_client_hotplug,
> };
>
> +static int _drm_fbdev_generic_setup(struct drm_device *dev, unsigned
> int preferred_bpp, bool use_shadow)
> +{
> + struct drm_fb_helper *fb_helper;
> + int ret;
> +
> + WARN(dev->fb_helper, "fb_helper is already set!\n");
> +
> + if (!drm_...
2019 Jul 04
2
[PATCH 0/5] Unmappable DRM client buffers for fbdev emulation
...fb_helper, sizes);
>
> - if (fb->funcs->dirty) {
> + if (fb->funcs->dirty || fb_helper->use_shadow) {
> struct fb_ops *fbops;
> void *shadow;
>
> @@ -2310,6 +2311,44 @@ static const struct drm_client_funcs
> drm_fbdev_client_funcs = {
> .hotplug = drm_fbdev_client_hotplug,
> };
>
> +static int _drm_fbdev_generic_setup(struct drm_device *dev, unsigned
> int preferred_bpp, bool use_shadow)
> +{
> + struct drm_fb_helper *fb_helper;
> + int ret;
> +
> + WARN(dev->fb_helper, "fb_helper is already set!\n");
> +
> + if (!drm_...
2020 Apr 06
2
upstream boot error: KASAN: slab-out-of-bounds Write in virtio_gpu_object_create
...drm/drm_fb_helper.c:1588 [inline]
> __drm_fb_helper_initial_config_and_unlock+0xb56/0x11e0 drivers/gpu/drm/drm_fb_helper.c:1746
> drm_fb_helper_initial_config drivers/gpu/drm/drm_fb_helper.c:1841 [inline]
> drm_fb_helper_initial_config drivers/gpu/drm/drm_fb_helper.c:1833 [inline]
> drm_fbdev_client_hotplug+0x30f/0x580 drivers/gpu/drm/drm_fb_helper.c:2133
> drm_fbdev_generic_setup drivers/gpu/drm/drm_fb_helper.c:2212 [inline]
> drm_fbdev_generic_setup+0x18b/0x295 drivers/gpu/drm/drm_fb_helper.c:2185
> virtio_gpu_probe+0x28f/0x2de drivers/gpu/drm/virtio/virtgpu_drv.c:127
> virtio_dev_pr...
2020 Apr 06
2
upstream boot error: KASAN: slab-out-of-bounds Write in virtio_gpu_object_create
...drm/drm_fb_helper.c:1588 [inline]
> __drm_fb_helper_initial_config_and_unlock+0xb56/0x11e0 drivers/gpu/drm/drm_fb_helper.c:1746
> drm_fb_helper_initial_config drivers/gpu/drm/drm_fb_helper.c:1841 [inline]
> drm_fb_helper_initial_config drivers/gpu/drm/drm_fb_helper.c:1833 [inline]
> drm_fbdev_client_hotplug+0x30f/0x580 drivers/gpu/drm/drm_fb_helper.c:2133
> drm_fbdev_generic_setup drivers/gpu/drm/drm_fb_helper.c:2212 [inline]
> drm_fbdev_generic_setup+0x18b/0x295 drivers/gpu/drm/drm_fb_helper.c:2185
> virtio_gpu_probe+0x28f/0x2de drivers/gpu/drm/virtio/virtgpu_drv.c:127
> virtio_dev_pr...
2020 Aug 24
2
Is: virtio_gpu_object_shmem_init issues? Was:Re: upstream boot error: general protection fault in swiotlb_map
...drm/drm_fb_helper.c:1635 [inline]
> __drm_fb_helper_initial_config_and_unlock+0xbc6/0x12d0 drivers/gpu/drm/drm_fb_helper.c:1793
> drm_fb_helper_initial_config drivers/gpu/drm/drm_fb_helper.c:1888 [inline]
> drm_fb_helper_initial_config drivers/gpu/drm/drm_fb_helper.c:1880 [inline]
> drm_fbdev_client_hotplug+0x2d4/0x580 drivers/gpu/drm/drm_fb_helper.c:2180
> drm_fbdev_generic_setup+0x1c8/0x450 drivers/gpu/drm/drm_fb_helper.c:2262
> virtio_gpu_probe+0x28f/0x2e0 drivers/gpu/drm/virtio/virtgpu_drv.c:127
> virtio_dev_probe+0x445/0x6f0 drivers/virtio/virtio.c:248
> really_probe+0x282/0x9f0 d...
2019 May 16
5
[PATCH 0/2] Add BO reservation to GEM VRAM pin/unpin/push_to_system
...elper]
[ 10.018015] drm_gem_vmap+0x36/0x43 [drm]
[ 10.018491] drm_client_framebuffer_create+0xc6/0x1ca [drm]
[ 10.019143] drm_fb_helper_generic_probe+0x4c/0x157 [drm_kms_helper]
[ 10.019864] __drm_fb_helper_initial_config_and_unlock+0x307/0x442 [drm_kms_helper]
[ 10.020739] drm_fbdev_client_hotplug+0xc8/0x115 [drm_kms_helper]
[ 10.021442] drm_fbdev_generic_setup+0xc4/0xf1 [drm_kms_helper]
[ 10.022120] bochs_pci_probe+0x123/0x143 [bochs_drm]
[ 10.022688] local_pci_probe+0x34/0x75
[ 10.023127] pci_device_probe+0xf8/0x150A
...
It turns out that the bochs and vbox drivers a...
2019 May 16
5
[PATCH 0/2] Add BO reservation to GEM VRAM pin/unpin/push_to_system
...elper]
[ 10.018015] drm_gem_vmap+0x36/0x43 [drm]
[ 10.018491] drm_client_framebuffer_create+0xc6/0x1ca [drm]
[ 10.019143] drm_fb_helper_generic_probe+0x4c/0x157 [drm_kms_helper]
[ 10.019864] __drm_fb_helper_initial_config_and_unlock+0x307/0x442 [drm_kms_helper]
[ 10.020739] drm_fbdev_client_hotplug+0xc8/0x115 [drm_kms_helper]
[ 10.021442] drm_fbdev_generic_setup+0xc4/0xf1 [drm_kms_helper]
[ 10.022120] bochs_pci_probe+0x123/0x143 [bochs_drm]
[ 10.022688] local_pci_probe+0x34/0x75
[ 10.023127] pci_device_probe+0xf8/0x150A
...
It turns out that the bochs and vbox drivers a...