From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64904] [BISECTED] nouveau, nv50: External VGA not detected anymore Date: Thu, 30 May 2013 16:00:36 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0960504280==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0960504280== Content-Type: multipart/alternative; boundary="1369929636.64dA1Dfe2.11722"; charset="us-ascii" --1369929636.64dA1Dfe2.11722 Date: Thu, 30 May 2013 16:00:36 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64904 --- Comment #12 from Joshua Baergen --- I can confirm this issue on a ThinkPad W530, NVIDIA Corporation GK107GLM [Quadro K1000M] (rev a1). I noticed the issue at work when I tried to connect to VGA extender which in turn was hooked up to a projector. However, connecting directly to a VGA monitor worked fine. I took Gerhard's suggestion and patched my 2.8.13 Gentoo kernel with the nv50_dac_detect from ef22c8bb7b3fac45919b7fde412d36d1a8367d51 and I was then able to connect to the projector. FWIW, at least one other thing I noticed in the patch is that in the working code, there's the following sequence: 1) Write (NV50_PDISPLAY_DAC_LOAD_CTRL_ACTIVE | load_pattern) to DAC_LOAD_CTRL(i). 2) Read DAC_LOAD_CTRL(i). 3) Write 0 to DAC_LOAD_CTRL(i). In the new code, it's: 1) Write (NV50_PDISPLAY_DAC_LOAD_CTRL_ACTIVE | load_pattern) to DAC_LOAD_CTRL(i). 2) Write NV50_PDISPLAY_DAC_LOAD_CTRL_DONE to DAC_LOAD_CTRL(i). 3) Read DAC_LOAD_CTRL(i). Being completely unfamiliar with the hardware, I'm not sure if this is significant, and unfortunately, I don't have much (if any) opportunity to experiment. Josh -- You are receiving this mail because: You are the assignee for the bug. --1369929636.64dA1Dfe2.11722 Date: Thu, 30 May 2013 16:00:36 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 12 on bug 64904 from
I can confirm this issue on a ThinkPad W530, NVIDIA Corporation GK107GLM
[Quadro K1000M] (rev a1).  I noticed the issue at work when I tried to connect
to VGA extender which in turn was hooked up to a projector.  However,
connecting directly to a VGA monitor worked fine.

I took Gerhard's suggestion and patched my 2.8.13 Gentoo kernel with the
nv50_dac_detect from ef22c8bb7b3fac45919b7fde412d36d1a8367d51 and I was then
able to connect to the projector.

FWIW, at least one other thing I noticed in the patch is that in the working
code, there's the following sequence:

1) Write (NV50_PDISPLAY_DAC_LOAD_CTRL_ACTIVE | load_pattern) to
DAC_LOAD_CTRL(i).
2) Read DAC_LOAD_CTRL(i).
3) Write 0 to DAC_LOAD_CTRL(i).

In the new code, it's:

1) Write (NV50_PDISPLAY_DAC_LOAD_CTRL_ACTIVE | load_pattern) to
DAC_LOAD_CTRL(i).
2) Write NV50_PDISPLAY_DAC_LOAD_CTRL_DONE to DAC_LOAD_CTRL(i).
3) Read DAC_LOAD_CTRL(i).

Being completely unfamiliar with the hardware, I'm not sure if this is
significant, and unfortunately, I don't have much (if any) opportunity to
experiment.

Josh


You are receiving this mail because:
  • You are the assignee for the bug.
--1369929636.64dA1Dfe2.11722-- --===============0960504280== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0960504280==--