From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105880] [dc] No support for LVDS or VGA connectors (Cannot find any crtc or sizes) Date: Thu, 31 Jan 2019 10:35:12 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2144441848==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 83EAD6EC91 for ; Thu, 31 Jan 2019 10:35:12 +0000 (UTC) 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 --===============2144441848== Content-Type: multipart/alternative; boundary="15489309121.EdC17.26305" Content-Transfer-Encoding: 7bit --15489309121.EdC17.26305 Date: Thu, 31 Jan 2019 10:35:12 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D105880 --- Comment #43 from Pontus Gr=C3=A5sk=C3=A6g --- (In reply to Przemek from comment #42) > Good news, > on amd-staging-drm-next (5.0.0-rc1+) vga connector works without a hitch.= I > don't have dvi connector on my netbook so I am unable to test this one. >=20 > Thanks, > Przemek. I *think* that is because it defaults to Radeon code on Kaveri. On my Lenovo Z50-75 laptop with kernel 5.0.0-rc4 I get the following behavi= our - with kernel parameter amdgpu.dc=3D0 the VGA connector works (case (a) bel= ow) and with amdgpu.dc=3D1 it does not, although the built in LCD display on the laptop does (case (b) below). I believe this is known to AMD, but resource prioritisation means that it is unlikely to be changed in the near future if at all. graaskaeg a) with kernel boot parameters "amdgpu.cik_support=3D1 radeon.cik_support= =3D0 amdgpu.dc=3D0 amdgpu.dc_log=3D0 drm.debug=3D0x00 vt.handoff=3D1" - note the= amdgpu.dc=3D0 My ***Highlight*** added below [ 2.200714] [drm] amdgpu kernel modesetting enabled. [ 2.201557] [drm] initializing kernel modesetting (KAVERI 0x1002:0x130A 0x17AA:0x3988 0x00). [ 2.220715] [drm] register mmio base: 0xF0B00000 [ 2.220724] [drm] register mmio size: 262144 [ 2.220730] [drm] add ip block number 0 [ 2.220733] [drm] add ip block number 1 [ 2.220735] [drm] add ip block number 2 [ 2.220738] [drm] add ip block number 3 [ 2.220741] [drm] add ip block number 4 [ 2.220743] [drm] add ip block number 5 ***[ 2.220746] [drm] add ip block number 6 *** [ 2.220749] [drm] add ip block number 7 [ 2.220751] [drm] add ip block number 8 [ 2.245495] [drm] BIOS signature incorrect 0 0 ... [ 2.246594] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 2.246597] [drm] Driver supports precise vblank timestamp query. [ 2.247632] [drm] Internal thermal controller without fan control [ 2.247640] [drm] amdgpu: dpm initialized [ 2.252827] [drm] amdgpu atom DIG backlight initialized [ 2.252831] [drm] AMDGPU Display Connectors [ 2.252833] [drm] Connector 0: [ 2.252835] [drm] VGA-1 [ 2.252836] [drm] HPD2 [ 2.252839] [drm] DDC: 0x1950 0x1950 0x1951 0x1951 0x1952 0x1952 0x1953 0x1953 [ 2.252841] [drm] Encoders: [ 2.252843] [drm] CRT1: INTERNAL_UNIPHY2 [ 2.252845] [drm] CRT1: NUTMEG [ 2.252846] [drm] Connector 1: [ 2.252848] [drm] HDMI-A-1 [ 2.252849] [drm] HPD3 [ 2.252851] [drm] DDC: 0x1954 0x1954 0x1955 0x1955 0x1956 0x1956 0x1957 0x1957 [ 2.252854] [drm] Encoders: [ 2.252855] [drm] DFP1: INTERNAL_UNIPHY2 [ 2.252857] [drm] Connector 2: [ 2.252858] [drm] eDP-1 [ 2.252860] [drm] HPD1 [ 2.252862] [drm] DDC: 0x194c 0x194c 0x194d 0x194d 0x194e 0x194e 0x194f 0x194f [ 2.252864] [drm] Encoders: [ 2.252866] [drm] LCD1: INTERNAL_UNIPHY [ 2.252995] [drm] Found UVD firmware Version: 1.55 Family ID: 9 [ 2.253586] [drm] Found VCE firmware Version: 50.10 Binary ID: 2 [ 2.376639] [drm] UVD initialized successfully. [ 2.486808] [drm] VCE initialized successfully. b) with kernel boot parameters "amdgpu.cik_support=3D1 radeon.cik_support= =3D0 amdgpu.dc=3D1 amdgpu.dc_log=3D0 drm.debug=3D0x00 vt.handoff=3D1" - note the= amdgpu.dc=3D1 My ***Highlight*** added below [ 2.234786] [drm] amdgpu kernel modesetting enabled. [ 2.235605] [drm] initializing kernel modesetting (KAVERI 0x1002:0x130A 0x17AA:0x3988 0x00). [ 2.248333] [drm] register mmio base: 0xF0B00000 [ 2.248343] [drm] register mmio size: 262144 [ 2.248348] [drm] add ip block number 0 [ 2.248351] [drm] add ip block number 1 [ 2.248354] [drm] add ip block number 2 [ 2.248356] [drm] add ip block number 3 [ 2.248359] [drm] add ip block number 4 [ 2.248361] [drm] add ip block number 5 ***[ 2.248365] [drm] add ip block number 6 *** [ 2.248367] [drm] add ip block number 7 [ 2.248370] [drm] add ip block number 8 [ 2.273900] [drm] BIOS signature incorrect 0 0 ... [ 2.275855] [drm] Internal thermal controller without fan control [ 2.275866] [drm] amdgpu: dpm initialized [ 2.275999] [drm] Found UVD firmware Version: 1.55 Family ID: 9 [ 2.276402] [drm] Found VCE firmware Version: 50.10 Binary ID: 2 [ 2.285995] [drm:dm_pp_get_static_clocks [amdgpu]] *ERROR* DM_PPLIB: inv= alid powerlevel state: 0! [ 2.286092] [drm] Unsupported Connector type:5! [ 2.286207] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from Adapter Service for connector index:3! type 0 expected 3 [ 2.286313] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from Adapter Service for connector index:4! type 0 expected 3 [ 2.286391] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from Adapter Service for connector index:5! type 0 expected 3 [ 2.286469] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from Adapter Service for connector index:6! type 0 expected 3 [ 2.297476] [drm] Display Core initialized with v3.2.08! [ 2.304663] [drm] SADs count is: -2, don't need to read it [ 2.305984] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 2.305988] [drm] Driver supports precise vblank timestamp query. [ 2.332285] [drm] UVD initialized successfully. [ 2.442382] [drm] VCE initialized successfully. --=20 You are receiving this mail because: You are the assignee for the bug.= --15489309121.EdC17.26305 Date: Thu, 31 Jan 2019 10:35:12 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comme= nt # 43 on bug 10588= 0 from Pont= us Gr=C3=A5sk=C3=A6g
(In reply to Przemek from comment #42)
> Good news,
> on amd-staging-drm-next (5.0.0-rc1+) vga connector works without a hit=
ch. I
> don't have dvi connector on my netbook so I am unable to test this one.
>=20
> Thanks,
> Przemek.

I *think* that is because it defaults to Radeon code on Kaveri.

On my Lenovo Z50-75 laptop with kernel 5.0.0-rc4 I get the following behavi=
our
- with kernel parameter amdgpu.dc=3D0 the VGA connector works (case (a) bel=
ow)
and with amdgpu.dc=3D1 it does not, although the built in LCD display on the
laptop does (case (b) below).

I believe this is known to AMD, but resource prioritisation means that it is
unlikely to be changed in the near future if at all.

graaskaeg


a) with kernel boot parameters "amdgpu.cik_support=3D1 radeon.cik_supp=
ort=3D0
amdgpu.dc=3D0 amdgpu.dc_log=3D0 drm.debug=3D0x00 vt.handoff=3D1" - not=
e the amdgpu.dc=3D0

<see attachment dmesg 5.0.0-rc4 dc=3D0, grepped with #grep -E
'amdgpu|drm|kfd|console|Console'> My ***Highlight*** added below

[    2.200714] [drm] amdgpu kernel modesetting enabled.
[    2.201557] [drm] initializing kernel modesetting (KAVERI 0x1002:0x130A
0x17AA:0x3988 0x00).
[    2.220715] [drm] register mmio base: 0xF0B00000
[    2.220724] [drm] register mmio size: 262144
[    2.220730] [drm] add ip block number 0 <cik_common>
[    2.220733] [drm] add ip block number 1 <gmc_v7_0>
[    2.220735] [drm] add ip block number 2 <cik_ih>
[    2.220738] [drm] add ip block number 3 <gfx_v7_0>
[    2.220741] [drm] add ip block number 4 <cik_sdma>
[    2.220743] [drm] add ip block number 5 <kv_dpm>
***[    2.220746] [drm] add ip block number 6 <dce_v8_0> ***
[    2.220749] [drm] add ip block number 7 <uvd_v4_2>
[    2.220751] [drm] add ip block number 8 <vce_v2_0>
[    2.245495] [drm] BIOS signature incorrect 0 0
...
[    2.246594] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.246597] [drm] Driver supports precise vblank timestamp query.
[    2.247632] [drm] Internal thermal controller without fan control
[    2.247640] [drm] amdgpu: dpm initialized
[    2.252827] [drm] amdgpu atom DIG backlight initialized
[    2.252831] [drm] AMDGPU Display Connectors
[    2.252833] [drm] Connector 0:
[    2.252835] [drm]   VGA-1
[    2.252836] [drm]   HPD2
[    2.252839] [drm]   DDC: 0x1950 0x1950 0x1951 0x1951 0x1952 0x1952 0x1953
0x1953
[    2.252841] [drm]   Encoders:
[    2.252843] [drm]     CRT1: INTERNAL_UNIPHY2
[    2.252845] [drm]     CRT1: NUTMEG
[    2.252846] [drm] Connector 1:
[    2.252848] [drm]   HDMI-A-1
[    2.252849] [drm]   HPD3
[    2.252851] [drm]   DDC: 0x1954 0x1954 0x1955 0x1955 0x1956 0x1956 0x1957
0x1957
[    2.252854] [drm]   Encoders:
[    2.252855] [drm]     DFP1: INTERNAL_UNIPHY2
[    2.252857] [drm] Connector 2:
[    2.252858] [drm]   eDP-1
[    2.252860] [drm]   HPD1
[    2.252862] [drm]   DDC: 0x194c 0x194c 0x194d 0x194d 0x194e 0x194e 0x194f
0x194f
[    2.252864] [drm]   Encoders:
[    2.252866] [drm]     LCD1: INTERNAL_UNIPHY
[    2.252995] [drm] Found UVD firmware Version: 1.55 Family ID: 9
[    2.253586] [drm] Found VCE firmware Version: 50.10 Binary ID: 2
[    2.376639] [drm] UVD initialized successfully.
[    2.486808] [drm] VCE initialized successfully.


b) with kernel boot parameters "amdgpu.cik_support=3D1 radeon.cik_supp=
ort=3D0
amdgpu.dc=3D1 amdgpu.dc_log=3D0 drm.debug=3D0x00 vt.handoff=3D1" - not=
e the amdgpu.dc=3D1

<see attachment dmesg 5.0.0-rc4 dc=3D1, grepped with #grep -E
'amdgpu|drm|kfd|console|Console'> My ***Highlight*** added below

[    2.234786] [drm] amdgpu kernel modesetting enabled.
[    2.235605] [drm] initializing kernel modesetting (KAVERI 0x1002:0x130A
0x17AA:0x3988 0x00).
[    2.248333] [drm] register mmio base: 0xF0B00000
[    2.248343] [drm] register mmio size: 262144
[    2.248348] [drm] add ip block number 0 <cik_common>
[    2.248351] [drm] add ip block number 1 <gmc_v7_0>
[    2.248354] [drm] add ip block number 2 <cik_ih>
[    2.248356] [drm] add ip block number 3 <gfx_v7_0>
[    2.248359] [drm] add ip block number 4 <cik_sdma>
[    2.248361] [drm] add ip block number 5 <kv_dpm>
***[    2.248365] [drm] add ip block number 6 <dm> ***
[    2.248367] [drm] add ip block number 7 <uvd_v4_2>
[    2.248370] [drm] add ip block number 8 <vce_v2_0>
[    2.273900] [drm] BIOS signature incorrect 0 0
...
[    2.275855] [drm] Internal thermal controller without fan control
[    2.275866] [drm] amdgpu: dpm initialized
[    2.275999] [drm] Found UVD firmware Version: 1.55 Family ID: 9
[    2.276402] [drm] Found VCE firmware Version: 50.10 Binary ID: 2
[    2.285995] [drm:dm_pp_get_static_clocks [amdgpu]] *ERROR* DM_PPLIB: inv=
alid
powerlevel state: 0!
[    2.286092] [drm] Unsupported Connector type:5!
[    2.286207] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:3! type 0 expected 3
[    2.286313] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:4! type 0 expected 3
[    2.286391] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:5! type 0 expected 3
[    2.286469] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:6! type 0 expected 3
[    2.297476] [drm] Display Core initialized with v3.2.08!
[    2.304663] [drm] SADs count is: -2, don't need to read it
[    2.305984] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.305988] [drm] Driver supports precise vblank timestamp query.
[    2.332285] [drm] UVD initialized successfully.
[    2.442382] [drm] VCE initialized successfully.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15489309121.EdC17.26305-- --===============2144441848== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============2144441848==--