[Bug 105880] [dc] No support for LVDS or VGA connectors (Cannot find any crtc or sizes)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 31 10:35:12 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #43 from Pontus Gråskæg <graaskaeg.via.forwarder at neverbox.com> ---
(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.
> 
> 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 behaviour
- with kernel parameter amdgpu.dc=0 the VGA connector works (case (a) below)
and with amdgpu.dc=1 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=1 radeon.cik_support=0
amdgpu.dc=0 amdgpu.dc_log=0 drm.debug=0x00 vt.handoff=1" - note the amdgpu.dc=0

<see attachment dmesg 5.0.0-rc4 dc=0, 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=1 radeon.cik_support=0
amdgpu.dc=1 amdgpu.dc_log=0 drm.debug=0x00 vt.handoff=1" - note the amdgpu.dc=1

<see attachment dmesg 5.0.0-rc4 dc=1, 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: invalid
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190131/8b70fcf4/attachment.html>


More information about the dri-devel mailing list