From owner-freebsd-current@freebsd.org Mon Mar 14 17:59:21 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 49C5AACFCA1 for ; Mon, 14 Mar 2016 17:59:21 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2C55A9FA for ; Mon, 14 Mar 2016 17:59:21 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: by mailman.ysv.freebsd.org (Postfix) id 269FDACFCA0; Mon, 14 Mar 2016 17:59:21 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26300ACFC9F for ; Mon, 14 Mar 2016 17:59:21 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: from mail-yw0-x22c.google.com (mail-yw0-x22c.google.com [IPv6:2607:f8b0:4002:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E54459F9 for ; Mon, 14 Mar 2016 17:59:20 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: by mail-yw0-x22c.google.com with SMTP id h129so177683131ywb.1 for ; Mon, 14 Mar 2016 10:59:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=capeaugusta-com.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version; bh=f8EI6Jjm+vNYVPDpHC9MumNdd1uss6ffUMMabeqm+TE=; b=I6fkvI5dTplJCKCPs2fPQI844gHbzpVWwE8J0j+Y/zQnzwQW69bCcvdOGBuULXOv8T JWp4EA62OT1ZJr4JDVEvgQpKrNrVuBl0mBvlMlQ+fV1j+ENtifTPgDUBcqVfwhCaHLiq KSMG8JQ0Ge6bjODTo2Bugxf2DvbKVlSV3YzA2sNrrgZA9DHfWNJUHqJaLB5dcgOJ8Sd6 uudKouxmErIjXrSChhhvpIZh0v/+ec7A2QDGmvp3XwIyd5yJBYkneLac+Q0O8EHwl5V2 wGTgcyYaZbMwri6XLz7gGGjdiLOjLSzDOOb8B7GYyXhiDSX2Qm4isthAQKiN6rHKPvWE R4QQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version; bh=f8EI6Jjm+vNYVPDpHC9MumNdd1uss6ffUMMabeqm+TE=; b=iMHyLZDSRM5XWjgDBWG9iy+4VTL6AL107ivqY4xIdA+xfwXQ9n9DzuVg0Ndqxxk7v6 JE/+yjtNU0stLilJsEAGWaJRCXN3wpaZ9EHru4wdU/O85SiLknjbIg7Ayx9FkDaIwxmN c8mfNU4u0hm9hQ1KSRvvMv/z1Dy0ccSOaTjxmJ0HG2gAzr9GhhoQfeqY5MxqXdcyNZcn x8/sS5BewGShMTsFvmhuZ9V+hMPxbQeW1fmzNm9ByKW18mBFMYndJL/HIuWPa3s1GCiC 65mUGnJCccJDowHpF9NanvKeUwS9kUeXQYzBb0cqM9TmWaEAAW1+2dFGFHg0uF5zvxXl 0ckQ== X-Gm-Message-State: AD7BkJLqW4xbpCWKCPY0Rt/7u9kNlEjlC6a4SO5m5FOYrNPMu6PRbVHjS5p5icxDmWOg3g5HBS6qT2UzY5g2Hep+19NDWkFQPF8qHGosYoMUB3C7/1xhVPekUXijwFhhJ8ziPHFwfamNl1eyEkXgidzFMwWVmighQJmqomQFtatdA04x6fbAS+5IntmtjaFQLw== X-Received: by 10.37.230.209 with SMTP id d200mr12679838ybh.134.1457978359343; Mon, 14 Mar 2016 10:59:19 -0700 (PDT) Received: from zen.clue.co.za ([64.53.114.172]) by smtp.gmail.com with ESMTPSA id g187sm14709194ywd.51.2016.03.14.10.59.18 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Mar 2016 10:59:18 -0700 (PDT) To: current@freebsd.org From: Ian FREISLICH Subject: r296548 breaks external DP and HDMI on HD4000 Message-ID: <56E6FBF6.8020703@capeaugusta.com> Date: Mon, 14 Mar 2016 13:59:18 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2016 17:59:21 -0000 Hi With r296548 on the following hardware: vgapci0@pci0:0:2:0: class=0x030000 card=0x15171043 chip=0x01668086 rev=0x09 hdr=0x00 vendor = 'Intel Corporation' device = '3rd Gen Core processor Graphics Controller' class = display subclass = VGA cap 05[90] = MSI supports 1 message enabled with 1 message cap 01[d0] = powerspec 2 supports D0 D3 current D0 cap 13[a4] = PCI Advanced Features: FLR TP I get the following console messages when X starts and my external monitor (Samsung U28E590) goes into epileptic fit attack mode. [drm] Initialized i915 1.6.0 20080730 for drmn0 on minor 0 [drm:pid0:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting [drm] Enabling RC6 states: RC6 on, RC6p on, RC6pp off [drm:pid0:intel_cpt_verify_modeset] *ERROR* mode set failed: pipe 0 stuck [drm:pid1100:ironlake_check_fdi_lanes] *ERROR* WARN ON: I915_READ(SOUTH_CHICKEN1) & FDI_BC_BIFURCATION_SELECT [drm:pid1100:ivb_manual_fdi_link_train] *ERROR* FDI train 1 fail! [drm:pid1100:ivb_manual_fdi_link_train] *ERROR* FDI train 2 fail! The good news is that I no longer need the following hack to turn on the back light this laptop's LVDS display: Index: sys/dev/drm2/i915/intel_display.c =================================================================== --- sys/dev/drm2/i915/intel_display.c (revision 296547) +++ sys/dev/drm2/i915/intel_display.c (working copy) @@ -6960,7 +6960,7 @@ */ I915_WRITE(BLC_PWM_CPU_CTL2, PWM_ENABLE); I915_WRITE(BLC_PWM_CPU_CTL, 0); - I915_WRITE(BLC_PWM_PCH_CTL1, PWM_ENABLE); + I915_WRITE(BLC_PWM_PCH_CTL1, PWM_ENABLE | (1<<30)); } void intel_modeset_init_hw(struct drm_device *dev) -- Ian Freislich -- Cape Augusta Digital Properties, LLC a Cape Augusta Company *Breach of confidentiality & accidental breach of confidentiality * This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.