From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 73530] Asus U38N: Black screen with Radeon driver in Linux Date: Mon, 11 May 2015 17:44:26 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0821835025==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2326B6E485 for ; Mon, 11 May 2015 10:44:26 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0821835025== Content-Type: multipart/alternative; boundary="1431366266.3aef14F2.28306"; charset="UTF-8" --1431366266.3aef14F2.28306 Date: Mon, 11 May 2015 17:44:26 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=73530 --- Comment #84 from N.Leiten --- (In reply to Alex Deucher from comment #83) > Created attachment 115699 [details] [review] > possible fix > > Is the dpcd information always wrong or just sometimes? If it's always > wrong, the attached patch might help. If it's only sometimes wrong, we > probably need to figure out under what conditions it's wrong. In my case it was always wrong at point of rate/link calculation, but DPCD itself read right, cause I see in dmesg: [drm:radeon_dp_getdpcd] DPCD: 11 0a 84 01 00 0b 01 01 02 00 00 00 00 00 00 According to this DPCD info we need 0x84 value masked with 0x1f which must return maximum of 4 lanes. But in function radeon_dp_get_dp_lane_number I got dpcd with all zeros instead. So I concluded that somewhere in flow it got NULL'ed. I'll check your patch in two-three hours later, little busy at the moment. But is it wise to make additional copies of same data? Maybe I'm a little paranoid, but I always thought that this method is the last variant of solution due to memory consumption. We need to find, where it blows configuration data so in other configurations it'll work as suspected not only in this combination of eDP and LVDS encoder, please correct me if I'm wrong. -- You are receiving this mail because: You are the assignee for the bug. --1431366266.3aef14F2.28306 Date: Mon, 11 May 2015 17:44:26 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 84 on bug 73530 from
(In reply to Alex Deucher from comment #83)
> Created attachment 115699 [details] [review] [review]
> possible fix
> 
> Is the dpcd information always wrong or just sometimes?  If it's always
> wrong, the attached patch might help.  If it's only sometimes wrong, we
> probably need to figure out under what conditions it's wrong.

In my case it was always wrong at point of rate/link calculation, but DPCD
itself read right, cause I see in dmesg:
[drm:radeon_dp_getdpcd] DPCD: 11 0a 84 01 00 0b 01 01 02 00 00 00 00 00 00

According to this DPCD info we need 0x84 value masked with 0x1f which must
return maximum of 4 lanes. But in function radeon_dp_get_dp_lane_number I got
dpcd with all zeros instead. So I concluded that somewhere in flow it got
NULL'ed.


I'll check your patch in two-three hours later, little busy at the moment. But
is it wise to make additional copies of same data? Maybe I'm a little paranoid,
but I always thought that this method is the last variant of solution due to
memory consumption. We need to find, where it blows configuration data so in
other configurations it'll work as suspected not only in this combination of
eDP and LVDS encoder, please correct me if I'm wrong.


You are receiving this mail because:
  • You are the assignee for the bug.
--1431366266.3aef14F2.28306-- --===============0821835025== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0821835025==--