From owner-freebsd-current@freebsd.org Tue Apr 26 16:34:19 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 F275CB1C1CA for ; Tue, 26 Apr 2016 16:34:19 +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 D08E61EE4 for ; Tue, 26 Apr 2016 16:34:19 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: by mailman.ysv.freebsd.org (Postfix) id CFD02B1C1C9; Tue, 26 Apr 2016 16:34:19 +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 CF6E9B1C1C8 for ; Tue, 26 Apr 2016 16:34:19 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: from mail-yw0-x22a.google.com (mail-yw0-x22a.google.com [IPv6:2607:f8b0:4002:c05::22a]) (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 961481EE3 for ; Tue, 26 Apr 2016 16:34:19 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: by mail-yw0-x22a.google.com with SMTP id t10so21716753ywa.0 for ; Tue, 26 Apr 2016 09:34:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=capeaugusta-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=5pFjyoDrSqy6/kghrCyr4Z38mSjD3Rja0cyhuUwDG0k=; b=u33VVvGioGLX6JbivbrNWjg39y8OwPSOwOLz2QiWl5Bbnb8aeBmUSm6fEqHrasRV7I 3YXpOEfggJ1iB/UjqODdJcEjlJDLisb/khevTVJBiNTaHwKHjF0niRhTVHDPE6GBzGZe km+INRN3NZZDwpdNhpa4qHsdO0iLRA1TzEvcASpjt5z7qxfwwyGcoKW0jdK1jUn7IseH 26GFOlRqSUDrCgMDSrq7MrOffh5WiJbrTo2ojHaMTLzEQx1hVlrTS6WSN5A0a1tfs+U6 qMBrLiu+449QR5iv9Tk/gY6zta7d/VpqSoZCXOUxSYBJmRm2BShBu1/dAFIZaNhiC2be u+uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=5pFjyoDrSqy6/kghrCyr4Z38mSjD3Rja0cyhuUwDG0k=; b=TBi193+9lgonoCHMuFzlcXj3HQrTCICtz4KwdWAR+EvIn0w9Cc1JITxBGtzdpyCmca jpA7Xr/GB/MG5XZvRaER6mJduZXjsXyoqVLJtmzweqjCtmyuxl2jjNzPIt0Q1SmqCPvy hGw36wrFB4S/niIN/1zh+hbuGzZchqjlco8OMP+PBqwcKmqFCpGM7qKU9eF3YsDjbbzv 5XXT1mF3r1tOjKgEln6nb1sc6wE/C3HeOQTgsOIAGeSam5QTQ5J7FjDGE3GfRj1AAM55 Pot2VVLz6ltR8PsNIYjepXMj5qRcmAfkyvCPrm1D9idOtiU9358l3OdsE2CtvDEMwWgS TYWQ== X-Gm-Message-State: AOPr4FVA8Yq6et/P3pGhOLfl15JgFA4pZjdCU0wSL5/jt1MWz/2Ao9EXSBB14OyEZfxG7TZmcGeQLrpzCmCkJWaB27rAwncqNJow6a5xhYwtaZo3Rw3MlMgwxcQ9T4P49zZZXa3rBCbz1X1Hoe6duutJsQcXvE7Ya6bIThE8UMiRmmCyLEXtNgOkBanIQYbG7Q== X-Received: by 10.13.192.130 with SMTP id b124mr1889928ywd.218.1461688457974; Tue, 26 Apr 2016 09:34:17 -0700 (PDT) Received: from zen.clue.co.za ([64.53.114.172]) by smtp.gmail.com with ESMTPSA id a199sm15601476ywe.30.2016.04.26.09.34.17 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 26 Apr 2016 09:34:17 -0700 (PDT) Subject: Re: r296548 breaks external DP and HDMI on HD4000 To: current@freebsd.org References: <56E6FBF6.8020703@capeaugusta.com> From: Ian FREISLICH Message-ID: <9ac08a20-0f11-202d-6913-517b38ac0ade@capeaugusta.com> Date: Tue, 26 Apr 2016 12:34:16 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <56E6FBF6.8020703@capeaugusta.com> Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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: Tue, 26 Apr 2016 16:34:20 -0000 Hi Replying to myself... The monitor works with in 1920x1080. Any higher resolution and the monitor displays rapidly changing random colours filled over the entire screen. I'm currently using r298115 with no improvement on the situation. Ian On 03/14/16 13:59, Ian FREISLICH wrote: > 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 (M) +1 404 574 0228 -- 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.