From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 01/25] drm/i915: add new Haswell DIP controls registers Date: Thu, 10 May 2012 10:32:24 +0200 Message-ID: <20120510083224.GB4867@phenom.ffwll.local> References: <1336588652-702-1-git-send-email-eugeni.dodonov@intel.com> <1336588652-702-2-git-send-email-eugeni.dodonov@intel.com> <4FAB138D.1020204@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f49.google.com (mail-ee0-f49.google.com [74.125.83.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 301B79EC29 for ; Thu, 10 May 2012 01:31:16 -0700 (PDT) Received: by eekd17 with SMTP id d17so428510eek.36 for ; Thu, 10 May 2012 01:31:15 -0700 (PDT) Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Paulo Zanoni Cc: intel-gfx@lists.freedesktop.org, eugeni.dodonov@intel.com List-Id: intel-gfx@lists.freedesktop.org On Thu, May 10, 2012 at 12:03:27AM -0300, Paulo Zanoni wrote: > 2012/5/9 Eugeni Dodonov : > > > > Without this, I am getting a nice black screen though . But the latest > > theory is that perhaps we just need to send any infoframe for the hardware > > to catch up and work in HDMI mode? > > > I finally tested this :) I don't think anymore this is the case since > the ddi_func_ctl register seems correct. > > Lots of theories: > > - Without this patch, you just run cpt_write_infoframe, which can be > messing with a lot of registers that are not DIP registers on HSW > - With the patch, you set the control register to 0 at the HDMI init > time, which disables any DIP that might be sending bad data and > causing the black screen > - On my machine, with this patch, after booting and doing everything, > the dip control register is 0x00110000, which is totally not what we > set/want :) Ok, can I have a minimal hsw_write_infoframe with a big yelling FIXME which just set the hw state such that basic hdmi works? -Daniel -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48