diff for duplicates of <1512387175.4977.24.camel@synopsys.com> diff --git a/a/1.txt b/N1/1.txt index 31ee4de..3ecd5d9 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -15,12 +15,12 @@ That gave me boot console on HDMI screen and I was full of expectations. But when I tried to use /dev/fb0 from whatever user-space app nothing got displayed on the screen... as well as no error messages appeared. -After?eyeballing at UDL code (especially in comparison with QXC which uses deferredio +After eyeballing at UDL code (especially in comparison with QXC which uses deferredio as well) I noticed that in UDL fb_deferred_io_init() is called from udl_fb_open(), i.e. .fb_open call-back (in other words every time user-space app opens /dev/fb0) -while in QXC this is done only once and much earlier in?qxlfb_create(), which is +while in QXC this is done only once and much earlier in qxlfb_create(), which is called with .fb_probe call-back. So moved fb_deferred_io_init() in UDL driver from -udl_fb_open() to?udlfb_create() which is also called from .fb_probe. +udl_fb_open() to udlfb_create() which is also called from .fb_probe. With that change I finally got video output via fbdev from user-space app, but only on the first run. The next attempt to run inevitably ends with @@ -28,15 +28,15 @@ kernel crash showing the following stack-trace (having half of the new screen rendered on display): ------------------------>8------------------------- Stack Trace: -? udl_handle_damage+0x48/0x210 -? udl_crtc_mode_set+0x6ee/0x754 -? drm_crtc_helper_set_mode+0x25e/0x438 -? drm_crtc_helper_set_config+0x6d6/0x814 -? __drm_mode_set_config_internal+0x48/0xc8 -? drm_mode_setcrtc+0x320/0x478 -? drm_ioctl+0x22c/0x3e4 -? SyS_ioctl+0xa4/0x8cc -? EV_Trap+0x108/0x10c + udl_handle_damage+0x48/0x210 + udl_crtc_mode_set+0x6ee/0x754 + drm_crtc_helper_set_mode+0x25e/0x438 + drm_crtc_helper_set_config+0x6d6/0x814 + __drm_mode_set_config_internal+0x48/0xc8 + drm_mode_setcrtc+0x320/0x478 + drm_ioctl+0x22c/0x3e4 + SyS_ioctl+0xa4/0x8cc + EV_Trap+0x108/0x10c random: crng init done ------------------------>8------------------------- diff --git a/a/content_digest b/N1/content_digest index c070721..733fb54 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,14 @@ - "From\0Alexey.Brodkin@synopsys.com (Alexey Brodkin)\0" + "From\0Alexey Brodkin <Alexey.Brodkin@synopsys.com>\0" "Subject\0UDL's fbdev doesn't work for user-space apps\0" "Date\0Mon, 4 Dec 2017 11:32:57 +0000\0" - "To\0linux-snps-arc@lists.infradead.org\0" + "To\0airlied@gmail.com <airlied@gmail.com>\0" + "Cc\0airlied@redhat.com <airlied@redhat.com>" + dri-devel@lists.freedesktop.org <dri-devel@lists.freedesktop.org> + hshi@chromium.org <hshi@chromium.org> + daniel.vetter@ffwll.ch <daniel.vetter@ffwll.ch> + tutankhamen@chromium.org <tutankhamen@chromium.org> + linux-snps-arc@lists.infradead.org <linux-snps-arc@lists.infradead.org> + " linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org>\0" "\00:1\0" "b\0" "Hello,\n" @@ -21,12 +28,12 @@ "But when I tried to use /dev/fb0 from whatever user-space app nothing got\n" "displayed on the screen... as well as no error messages appeared.\n" "\n" - "After?eyeballing at UDL code (especially in comparison with QXC which uses deferredio\n" + "After\302\240eyeballing at UDL code (especially in comparison with QXC which uses deferredio\n" "as well) I noticed that in UDL fb_deferred_io_init() is called from udl_fb_open(),\n" "i.e. .fb_open call-back (in other words every time user-space app opens /dev/fb0)\n" - "while in QXC this is done only once and much earlier in?qxlfb_create(), which is\n" + "while in QXC this is done only once and much earlier in\302\240qxlfb_create(), which is\n" "called with .fb_probe call-back. So moved fb_deferred_io_init() in UDL driver from\n" - "udl_fb_open() to?udlfb_create() which is also called from .fb_probe.\n" + "udl_fb_open() to\302\240udlfb_create() which is also called from .fb_probe.\n" "\n" "With that change I finally got video output via fbdev from user-space app,\n" "but only on the first run. The next attempt to run inevitably ends with\n" @@ -34,15 +41,15 @@ "rendered on display):\n" "------------------------>8-------------------------\n" "Stack Trace:\n" - "? udl_handle_damage+0x48/0x210\n" - "? udl_crtc_mode_set+0x6ee/0x754\n" - "? drm_crtc_helper_set_mode+0x25e/0x438\n" - "? drm_crtc_helper_set_config+0x6d6/0x814\n" - "? __drm_mode_set_config_internal+0x48/0xc8\n" - "? drm_mode_setcrtc+0x320/0x478\n" - "? drm_ioctl+0x22c/0x3e4\n" - "? SyS_ioctl+0xa4/0x8cc\n" - "? EV_Trap+0x108/0x10c\n" + "\302\240 udl_handle_damage+0x48/0x210\n" + "\302\240 udl_crtc_mode_set+0x6ee/0x754\n" + "\302\240 drm_crtc_helper_set_mode+0x25e/0x438\n" + "\302\240 drm_crtc_helper_set_config+0x6d6/0x814\n" + "\302\240 __drm_mode_set_config_internal+0x48/0xc8\n" + "\302\240 drm_mode_setcrtc+0x320/0x478\n" + "\302\240 drm_ioctl+0x22c/0x3e4\n" + "\302\240 SyS_ioctl+0xa4/0x8cc\n" + "\302\240 EV_Trap+0x108/0x10c\n" "random: crng init done\n" "------------------------>8-------------------------\n" "\n" @@ -58,4 +65,4 @@ "Thanks in advance,\n" Alexey -70f2883119e9a02aefc478e044fe289bedb4f30dce5e85940e1353ae7d2e30c1 +3ed342cdc3dcbab65e09db5d75612c1637c4f511bef125ed40730c1be02256cd
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.