Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp46698imm; Thu, 16 Aug 2018 15:13:30 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxPtYuGZtcPRosTwdfeBW1jFB+/uVB2aR7lvCC5d7J6YcfJCmfHdlNcMjnjAt0AP4lY5pwr X-Received: by 2002:a63:f919:: with SMTP id h25-v6mr29774398pgi.401.1534457610510; Thu, 16 Aug 2018 15:13:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534457610; cv=none; d=google.com; s=arc-20160816; b=KZ9u9B6LVBbdzJiidk4QW6UvZ+oqVDqz/Be5jpfZM+6myDPAagRoz1ax8pXyCYNAVa 6kUi30/42VNCzjkL0FkUv6Kt94Phqe2J09NhIGEnfxMgQbiiG6fZ8fftjCHbS0kZenuT lXrt7cqEC3HbanWXIyz6E6EzspybWmk6brdZwnUCD/oAItJJvZHXIAK+l5tJ/fwPcKg2 CLkoPcsTrwO1fShKxOG8HGGJLc8bXHJvf1rBL5bg06Pkpftw6NW3H0V5FZJyVSliw4hS N8GdSSMgJwfRSlDUXAfci4zRUI7sk3gyvtXylRlpLK4rgiQbL14sx4vDZd8uYkcQBned k42w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=CeyocFqr5RvyDdFZRocO2aCL6J/4HkqxBM/pzCh2ttY=; b=dGkLYEWJcGIaf/WpvxywZilmJNvbO1jvPqlU72ApnM3iTZUwyQahZmalX/7EYMIc/6 /LTPzX5ynsC1O3E0QwqiY94aPg6ADAx4CfKDLhAuIuoE7B3twp+GdCXm8J/J0kdhard9 rNvOJlMe/vbdXSSFznE2R/tArXWLCMixXGeBKIup6a+JgB0Crkdeavp0Y2n0hKncGLJD TH67SCZ3R+yZhJuUy0t+ME1l54QMTEmIXQ4zc2LOdHctpHHJFRA/VikzJnxrGPovy/8F 6/nUx8zASXyivVzwGgA5IHPu/TOUK1qO9ByWI5Wfs8sW5jsEf4bQV/ZOfYF/+XzLYBLg nFNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jHFVEWZN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a24-v6si440760pls.353.2018.08.16.15.13.11; Thu, 16 Aug 2018 15:13:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jHFVEWZN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726022AbeHQBMr (ORCPT + 99 others); Thu, 16 Aug 2018 21:12:47 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:35239 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725892AbeHQBMr (ORCPT ); Thu, 16 Aug 2018 21:12:47 -0400 Received: by mail-wm0-f66.google.com with SMTP id o18-v6so5691881wmc.0 for ; Thu, 16 Aug 2018 15:11:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=CeyocFqr5RvyDdFZRocO2aCL6J/4HkqxBM/pzCh2ttY=; b=jHFVEWZN7aMHUU3DKsmMlojrXMDVySn0hkPhAF2TsoJZQz8jwDuECheWdTKYfTSs7y LfZWOWopDfUY7kx/+YYMaL0L7+W9SEbVV1d/FfkAiAwRIoanQGOfXxSFuHwjK6v0AJXG uv0E2UZLb7X2PLqpEDW2XdhMuf6kEI4UszkmY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=CeyocFqr5RvyDdFZRocO2aCL6J/4HkqxBM/pzCh2ttY=; b=SguMg/jE5k3AAqsUWnQC/Bsl9jhbMKRsZm6/0xVcQqh4xOk5HrLwi+Z1BkqDIehLjL y9P4w88NbnNeeXJ0Mx4G8gxdB+S3Dpbxvcv5zb/w/3PXEoaVMYeoNLsNWcfl36Jau4kM AYrup3QC/g802GOkXTvQpMa4jaggxoCBUaoWd22h13+4VyHvazhbbthhJhmS0pc/WAq1 LAYB+cAPuxdJtqrr5kzNpiGX3UkBkS4ScxPcM+uoayjfSPjtz449CKaEIfOs6p0NEGxy 4TMHpnAOrICnesjpe0o7YZ7VwgIx/wcVu3DwKi9erICBVpbp8eiDa0oBc2OLqF0pOu5F 9Gtw== X-Gm-Message-State: AOUpUlE5D4aDmyAzdUiiie3DJ/v+3WK/fiC0hRYxb8NJ3nEqelGpLJlV 1rflSpz6ooVR/WcKKxEgvSp3uS3qQvROYVNxtGwZ8g== X-Received: by 2002:a1c:4182:: with SMTP id o124-v6mr16499493wma.101.1534457514032; Thu, 16 Aug 2018 15:11:54 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1c:c243:0:0:0:0:0 with HTTP; Thu, 16 Aug 2018 15:11:53 -0700 (PDT) In-Reply-To: References: From: John Stultz Date: Thu, 16 Aug 2018 15:11:53 -0700 Message-ID: Subject: Re: [git pull] drm for 4.19-rc1 To: Daniel Vetter Cc: Dave Airlie , Linus Torvalds , LKML , dri-devel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 16, 2018 at 1:38 PM, John Stultz wrote: > > Unfortunately bumping the max width/height values to 4096 cause the > system to hard hang as userspace starts up (and setting it to > 2048/2160 does the same). > > So yea, I'm going to continue to dig at the hard-hang issue, and > hopefully we can just bump the max width/height, but if there are > other suggestions, please let me know. So still digging on the hard hang after bumping the max_height value. It seems to trigger as the display is being initialized by userland, so if I boot with the HDMI cable unplugged the kernel boots fine (as userland error loops looking for a display). Then when I hotplug the HDMI cable it will hang. Booting with drm_debug=0xe, (and doing the HDMI hotplug after bootup) I see: [ 63.172368] [drm:dsi_encoder_phy_mode_valid] OK! [ 63.185522] [drm:drm_calc_timestamping_constants] crtc 29: hwmode: htotal 2200, vtotal 1125, vdisplay 1080 [ 63.195213] [drm:drm_calc_timestamping_constants] crtc 29: clock 148500 kHz framedur 16666666 linedur 14814 [ 63.205114] [drm:ade_ldi_set_mode.isra.9] set mode: 1920x1080 [ 63.212529] [drm:ade_ldi_set_mode.isra.9] set mode: 1920x1080 [ 63.218333] [drm:ade_plane_atomic_update] channel1: src:(0, 0)-1920x1080, crtc:(0, 0)-1920x1080 [ 63.218346] [drm:ade_plane_atomic_update] rdma1: (y=0, height=1080), stride=7680, paddr=0x77d00000 [ 63.236111] [drm:ade_plane_atomic_update] addr=0x77d00000, fb:1920x2160, pixel_format=2(XR24 little-endian (0x34325258)) [ 63.238695] Mali<2>: [ 63.247032] [drm:ade_plane_atomic_update] clip1: clip_left=0, clip_right=0 [ 63.247053] [drm:drm_vblank_enable] enabling vblank on crtc 0, ret: 0 [ 63.249319] Session 0x74ACAE00 with pid 2249 was granted higher priority. [ 63.256253] [drm:ade_dump_regs] [rdma1]: reload(0) [ 63.273400] [drm:drm_handle_vblank] vblank event on 1, current 1 [ 63.274362] [drm:ade_dump_regs] [rdma1]: reg_ctrl(0x00020000) [ 63.286201] [drm:ade_dump_regs] [rdma1]: reg_addr(0x77d00000) [ 63.286208] [drm:ade_dump_regs] [rdma1]: reg_size(0x04381e00) [ 63.286214] [drm:ade_dump_regs] [rdma1]: reg_stride(0x00001e00) [ 63.286221] [drm:ade_dump_regs] [rdma1]: reg_space(0x007e9000) [ 63.286227] [drm:ade_dump_regs] [rdma1]: reg_en(0x00000000) [ 63.286234] [drm:ade_dump_regs] [clip1]: reload(0) [ 63.286248] [drm:ade_dump_regs] [clip1]: reg_clip_disable(0x00000001) [ 63.326460] [drm:ade_dump_regs] [clip1]: reg_clip_size0(0x077f0437) [ 63.332786] [drm:ade_dump_regs] [clip1]: reg_clip_size1(0x00000000) [ 63.339102] [drm:ade_dump_regs] [overlay ch0]: reg_ch_xy0(0x00000000) [ 63.345596] [drm:ade_dump_regs] [overlay ch0]: reg_ch_xy1(0x077f0437) [ 63.350809] init: Received control message 'start' for 'bootanim' from pid: 2249 (/system/bin/surfaceflinger) [ 63.352091] [drm:ade_dump_regs] [overlay ch0]: reg_ch_ctl(0x107f806c) [ 63.362726] init: starting service 'bootanim'... [ 63.368494] [drm:ade_dump_regs] [overlay2]: reload(0) [ 63.368506] [drm:ade_dump_regs] [overlay2]: reg_ctl(0x00000000) [ 63.384170] [drm:ade_dump_regs] ovly_ctl(0x00000002) [ 63.390826] [drm:dsi_encoder_enable] htot=2200, hfp=88, hbp=148, hsw=44 [ 63.397502] [drm:dsi_encoder_enable] vtol=1125, vfp=4, vbp=36, vsw=5 [ 63.403902] [drm:dsi_encoder_enable] hsa_time=33, hbp_time=111, hline_time=1650 [ 63.411250] [drm:dsi_encoder_enable] lanes=4, pixel_clk=144000 kHz, bytes_freq=108000 kHz [ 63.428238] [drm:drm_mode_object_put] OBJ ID: 31 (5) Not always, but sometimes as it hangs I'll see: [drm:vblank_disable_fn] disabling vblank on crtc 0 And sometimes I'll also see: Insufficient stack space to handle exception! So I'm not sure if there's a screaming interrupt or what (nor am I sure what from the problematic changes would cause that change either). thanks -john