Summary: | [bsw] drv_module_reload_basic intel_user_framebuffer_leak with !FBDEV | ||
---|---|---|---|
Product: | DRI | Reporter: | Chris Wilson <chris> |
Component: | DRM/Intel | Assignee: | Maarten Lankhorst <bugs> |
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Severity: | normal | ||
Priority: | high | CC: | intel-gfx-bugs |
Version: | XOrg git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | PatchMerged | ||
i915 platform: | BSW/CHT | i915 features: | GEM/Other |
Description
Chris Wilson
2016-04-18 21:55:29 UTC
BAT fail should be P1. Is this still happening, or all fixed now with the fbdev refcounting fixes? Chris, can you confirm it is fixed ? If you don't have time to re-test, please share your configuration (HW & SW) and I will assign a QA member to re-test for you. This failure has not been visible on CI BSW during August+September. Proposing this to be closed/worksforme (or fixed). Please comment if you disagree. Still visible on -nightly. Chris, is there something we could help do to get this visible also on CI? What BSW system you have? [ 12.669147] Hardware name: /NUC5CPYB, BIOS PYBSWCEL.86A.0027.2015.0507.1758 05/07/2015 Handy :) You have to disable fbdev, and atm it has an actual display plugged in! CRTC info --------- CRTC 26: pipe: A, active=yes, (size=1920x1080), dither=no, bpp=24 fb: 51, pos: 0x0, size: 1920x1080 encoder 39: type: DP B, connectors: connector 40: type: DP-1, status: connected, mode: id 0:"1920x1080" freq 60 clock 148499 hdisp 1920 hss 2008 hse 2052 htot 2200 vdisp 1080 vss 1084 vse 1089 vtot 1125 type 0x40 flags 0x5 cursor visible? no, position (0, 0), size 0x0, addr 0x00000000, active? no No scalers available on this platform --Plane id 23: type=PRI, crtc_pos= 0x 0, crtc_size=1920x1080, src_pos=0.0000x0.0000, src_size=1920.0000x1080.0000, format=XR24 little-endian (0x34325258), rotation=0 (0x00000001) --Plane id 25: type=CUR, crtc_pos= 0x 0, crtc_size= 0x 0, src_pos=0.0000x0.0000, src_size=0.0000x0.0000, format=N/A, rotation=0 (0x00000001) --Plane id 27: type=OVL, crtc_pos= 0x 0, crtc_size= 0x 0, src_pos=0.0000x0.0000, src_size=0.0000x0.0000, format=N/A, rotation=0 (0x00000001) --Plane id 28: type=OVL, crtc_pos= 0x 0, crtc_size= 0x 0, src_pos=0.0000x0.0000, src_size=0.0000x0.0000, format=N/A, rotation=0 (0x00000001) underrun reporting: cpu=no pch=yes CRTC 31: pipe: B, active=no, (size=0x0), dither=no, bpp=0 underrun reporting: cpu=no pch=yes CRTC 36: pipe: C, active=no, (size=0x0), dither=no, bpp=0 underrun reporting: cpu=no pch=yes Connector info -------------- connector 40: type DP-1, status: connected name: physical dimensions: 0x0mm subpixel order: Unknown CEA rev: 0 DPCD rev: 11 audio support: no modes: connector 44: type HDMI-A-1, status: disconnected audio support: no modes: connector 47: type DP-2, status: disconnected DPCD rev: 0 audio support: no modes: connector 49: type HDMI-A-2, status: disconnected audio support: no modes: root@braswell:/home/ickle# cat /sys/kernel/debug/dri/1/i915_display_info CRTC info --------- CRTC 26: pipe: A, active=yes, (size=1920x1080), dither=no, bpp=24 fb: 51, pos: 0x0, size: 1920x1080 encoder 39: type: DP B, connectors: connector 40: type: DP-1, status: connected, mode: id 0:"1920x1080" freq 60 clock 148499 hdisp 1920 hss 2008 hse 2052 htot 2200 vdisp 1080 vss 1084 vse 1089 vtot 1125 type 0x40 flags 0x5 cursor visible? no, position (0, 0), size 0x0, addr 0x00000000, active? no No scalers available on this platform --Plane id 23: type=PRI, crtc_pos= 0x 0, crtc_size=1920x1080, src_pos=0.0000x0.0000, src_size=1920.0000x1080.0000, format=XR24 little-endian (0x34325258), rotation=0 (0x00000001) --Plane id 25: type=CUR, crtc_pos= 0x 0, crtc_size= 0x 0, src_pos=0.0000x0.0000, src_size=0.0000x0.0000, format=N/A, rotation=0 (0x00000001) --Plane id 27: type=OVL, crtc_pos= 0x 0, crtc_size= 0x 0, src_pos=0.0000x0.0000, src_size=0.0000x0.0000, format=N/A, rotation=0 (0x00000001) --Plane id 28: type=OVL, crtc_pos= 0x 0, crtc_size= 0x 0, src_pos=0.0000x0.0000, src_size=0.0000x0.0000, format=N/A, rotation=0 (0x00000001) underrun reporting: cpu=no pch=yes CRTC 31: pipe: B, active=no, (size=0x0), dither=no, bpp=0 underrun reporting: cpu=no pch=yes CRTC 36: pipe: C, active=no, (size=0x0), dither=no, bpp=0 underrun reporting: cpu=no pch=yes Connector info -------------- connector 40: type DP-1, status: connected name: physical dimensions: 0x0mm subpixel order: Unknown CEA rev: 0 DPCD rev: 11 audio support: no modes: connector 44: type HDMI-A-1, status: disconnected audio support: no modes: connector 47: type DP-2, status: disconnected DPCD rev: 0 audio support: no modes: connector 49: type HDMI-A-2, status: disconnected audio support: no modes: Reducing priority since failure cannot be seen with default .config. In order to see the failure one needs to disable fbdev and then execute drv_module_reload_basic - CONFIG_DRM_FBDEV_EMULATION=n - Default: CONFIG_DRM_FBDEV_EMULATION=y Mostly fixed by commit a667fb402c1e856209bf9e77ba41fc1cf356b867 Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Date: Thu Dec 15 15:29:44 2016 +0100 drm/i915: Disable all crtcs during driver unload, v2. still a small residual leak that Maarten has another patch for. Maarten any update on patches pending? Yeah this bug is completely fixed with the following commit to plug the leaks. commit 9b2104f423de5c148749a07e8197dbab4c449877 Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Date: Tue Feb 21 14:51:40 2017 +0100 drm/atomic: Make disable_all helper fully disable the crtc. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.