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

2019-11-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

Martin Peres  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |MOVED

--- Comment #47 from Martin Peres  ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/341.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

2019-01-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #46 from Przemek  ---
(In reply to Pontus Gråskæg from comment #43)
> (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.

Apologies, you are right, I was messing with efibootmgr and lost amdgpu.dc=1
somewhere.

Once again sorry for misleading.

Przemek.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2019-01-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #45 from Pontus Gråskæg  ---
Created attachment 143261
  --> https://bugs.freedesktop.org/attachment.cgi?id=143261&action=edit
dmesg 5.0.0-rc4 dc=1

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2019-01-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #44 from Pontus Gråskæg  ---
Created attachment 143260
  --> https://bugs.freedesktop.org/attachment.cgi?id=143260&action=edit
dmesg 5.0.0-rc4 dc=0

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2019-01-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #43 from Pontus Gråskæg  ---
(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

 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: 0xF0B0
[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=1 radeon.cik_support=0
amdgpu.dc=1 amdgpu.dc_log=0 drm.debug=0x00 vt.handoff=1" - note the amdgpu.dc=1

 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: 0xF0B0
[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: 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.2

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

2019-01-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #42 from Przemek  ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-09-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

djip.per...@free.fr changed:

   What|Removed |Added

 Attachment #141452|0   |1
is obsolete||

--- Comment #41 from djip.per...@free.fr ---
Created attachment 141462
  --> https://bugs.freedesktop.org/attachment.cgi?id=141462&action=edit
dmesg from kernel 4.18.6 with patch 141163

same with kernel 4.18.6 + patch
adding amdgpu.dc_log=1 ...

(all kernel param used: amdgpu.cik_support=1 radeon.cik_support=0 amdgpu.dpm=1
amdgpu.dc=1 amdgpu.dc_log=1 drm.debug=0x4 )

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-09-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #40 from djip.per...@free.fr ---
Created attachment 141452
  --> https://bugs.freedesktop.org/attachment.cgi?id=141452&action=edit
dmesg from kernel 4.18.5 with patch 141163

on AMD Kabini A6-1450...

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-09-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #39 from djip.per...@free.fr ---
test last patch with kernel 4.18.5...
It works...

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-08-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #38 from Chí-Thanh Christopher Nguyễn  ---
Created attachment 141163
  --> https://bugs.freedesktop.org/attachment.cgi?id=141163&action=edit
patch against 4.18.1

I tried the latest patch too, and LVDS is now working (as expected, VGA does
not work).

I slightly adapted the patch so that it applies against linux 4.18.1, in case
anyone is interested.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-08-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #37 from Shawn Starr  ---
Latest patch works for Mobile Bonaire on CIK on my Dell Laptop, LVDS panel
support is working!

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-08-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

Alex Deucher  changed:

   What|Removed |Added

 Attachment #141092|0   |1
is obsolete||

--- Comment #36 from Alex Deucher  ---
Created attachment 141128
  --> https://bugs.freedesktop.org/attachment.cgi?id=141128&action=edit
Add support for LVDS

Updated patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-08-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #35 from Shawn Starr  ---
With latest patch against amd-staging-drm-next the LVDS display panel lights up
only (as this did also before).

Doesn't work yet :/

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-08-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #34 from Shawn Starr  ---
Created attachment 141127
  --> https://bugs.freedesktop.org/attachment.cgi?id=141127&action=edit
amdgpu with dc=1 and cik_support=1 dmesg output

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-08-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #33 from Alex Deucher  ---
Just a heads up, the patch is against amd-staging-drm-next:
https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

Alex Deucher  changed:

   What|Removed |Added

 Attachment #141088|0   |1
is obsolete||

--- Comment #32 from Alex Deucher  ---
Created attachment 141092
  --> https://bugs.freedesktop.org/attachment.cgi?id=141092&action=edit
Add support for LVDS

No functional change, just a cleanup of the enable_lvds_output API.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

Alex Deucher  changed:

   What|Removed |Added

 Attachment #141087|0   |1
is obsolete||

--- Comment #31 from Alex Deucher  ---
Created attachment 141088
  --> https://bugs.freedesktop.org/attachment.cgi?id=141088&action=edit
Add support for LVDS

Updated patch which fixes a few things.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #30 from Alex Deucher  ---
Created attachment 141087
  --> https://bugs.freedesktop.org/attachment.cgi?id=141087&action=edit
Add support for LVDS

The attached patch adds support for LVDS.  I don't have a board with LVDS at
the moment, so untested.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

Alex Deucher  changed:

   What|Removed |Added

 CC||shawn.st...@rogers.com

--- Comment #29 from Alex Deucher  ---
*** Bug 105996 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #28 from Pontus Gråskæg  ---
Thank-you for the swift response, Alex.

Coding this is certainly beyond my current capabilities - I would have a rather
steep learning curve. I hope this is an itch somebody with the right experience
suffers with and wishes to scratch. ;-)

Nonetheless, thank-you for making such great strides with open drivers. It is
much appreciated.

Pontus.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #27 from Alex Deucher  ---
(In reply to Pontus Gråskæg from comment #26)
> Given the commit to the kernel
> 
> https://lkml.org/lkml/2018/7/6/30
> 
> and the same commit going into the 4.18 tree
> 
> https://patchwork.freedesktop.org/patch/230643/
> 
> can Harry Wentland or Alex Deucher clarify if DC code is planned at some
> later stage to support Bonaire, Kabini, Kaveri, and Mullins rather than
> falling back to the non-DC driver?
> 
> Is there anything owners of such hardware can do to assist?

Someone needs to implement support for LVDS and DACs.  It's not a high priority
for us at the moment.  If someone wants to take a stab at it, we'd be happy to
review the patches.  I think some of the older DAL2 code had some support for
these encoders.  You could use that or the non-DC code as reference.  Old DAL2
code for reference:
https://cgit.freedesktop.org/~agd5f/linux/tree/drivers/gpu/drm/amd/dal?h=amd-15.31

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #26 from Pontus Gråskæg  ---
Given the commit to the kernel

https://lkml.org/lkml/2018/7/6/30

and the same commit going into the 4.18 tree

https://patchwork.freedesktop.org/patch/230643/

can Harry Wentland or Alex Deucher clarify if DC code is planned at some later
stage to support Bonaire, Kabini, Kaveri, and Mullins rather than falling back
to the non-DC driver?

Is there anything owners of such hardware can do to assist?

graaskaeg

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-06-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #25 from Przemek  ---
Harry, in accordance to this:
https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-4.19-wip&id=1664ee4f0ae984e28409ad1ac83641539781840c
if you need a 'guinea pig' on that case please let me know. I have "0" (ZERO)
knowledge messing with kernel drivers but with gentoo it is not a big deal for
me to play with two kernels and test some (even a bad) code on that machine
(mullins/VGA connector). IMHO it could help with other ASICSs also.
Thanks,
Przemek.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-06-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #24 from djip.per...@free.fr ---
look like LVDS is not see as attached...

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-06-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #23 from djip.per...@free.fr ---
Created attachment 140167
  --> https://bugs.freedesktop.org/attachment.cgi?id=140167&action=edit
dmesg from kernel 4.17.1 with attachment 138831 applied

recompile 4.17.1 kernel with patch an debug mod...
hope it can help.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #22 from Przemek  ---
Just to supplement the list above.

Netbook Lenovo g50-45, a6-6310 R4 Beema/Mullins.

Has HDMI and VGA output.

HDMI is working without a hitch, while VGA output is dead.(eDP plus only one
extra monitor connected at a time)

Thanks,
Przemek.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-05-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #21 from Pontus Gråskæg  ---
Just to add, in addition to the Lenovo Z50-75, the following laptops use this
processor/gpu and have a VGA port

Acer Aspire E5-551-T5SV

Acer Aspire E5-551-T374

HP Probook 445 G2

Lenovo ThinkPad Edge E555

Toshiba Satellite L55D-B5320

graaskaeg

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-05-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #20 from Pontus Gråskæg  ---
I got to here from the bug detailed in Ubuntu Launchpad -
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1761751

It looks like amdgpu code does not support VGA on Kaveri, either.

I have a Lenovo Z50-75 laptop with AMD A10-7300, (Kaveri gpu)

information extracted from #lshw when booted with amdgpu.dc=0 [some information
purposefully withheld]

description: Notebook
product: 80EC (LENOVO_MT_80EC0_BU_idea_FM_Lenovo Z50-75)
vendor: LENOVO
version: Lenovo Z50-75
serial: XXX
width: 64 bits
capabilities: smbios-2.7 dmi-2.7 vsyscall32
configuration: boot=normal chassis=notebook family=IDEAPAD
sku=LENOVO_MT_80EC0_BU_idea_FM_Lenovo Z50-75 uuid=XXX
  *-core
   description: Motherboard
   product: Lancer 5B3
   vendor: LENOVO
   physical id: 0
   version: XXX
   serial: XXX
   slot: Chassis Location Unknown
 *-firmware
  description: BIOS
  vendor: LENOVO
  physical id: 0
  version: A4CN40WW (V 2.09)
  date: 08/24/2015
  size: 128KiB
  capacity: 8128KiB
  capabilities: pci upgrade shadowing cdboot bootselect edd
int5printscreen int9keyboard int14serial int17printer int10video pc98 acpi usb
biosbootspecification netboot
 *-cpu
  description: CPU
  product: AMD A10-7300 Radeon R6, 10 Compute Cores 4C+6G
  vendor: Advanced Micro Devices [AMD]
  physical id: 2c
  bus info: cpu@0
  version: AMD A10-7300 Radeon R6, 10 Compute Cores 4C+6G
  slot: Socket FS1r2
  size: 1227MHz
  capacity: 1900MHz
  width: 64 bits
  clock: 100MHz

*-cache:1
 description: L2 cache
 physical id: 2e
 slot: L2 Cache
 size: 4MiB
 capacity: 4MiB
 clock: 1GHz (1.0ns)
 capabilities: pipeline-burst internal write-back unified
 configuration: level=2
...
 *-pci:0
  description: Host bridge
  product: Family 15h (Models 30h-3fh) Processor Root Complex
  vendor: Advanced Micro Devices, Inc. [AMD]
  physical id: 100
  bus info: pci@:00:00.0
  version: 00
  width: 32 bits
  clock: 33MHz
*-display
 description: VGA compatible controller
 product: Kaveri [Radeon R6 Graphics]
 vendor: Advanced Micro Devices, Inc. [AMD/ATI]
 physical id: 1
 bus info: pci@:00:01.0
 version: 00
 width: 64 bits
 clock: 33MHz
 capabilities: pm pciexpress msi vga_controller bus_master cap_list
rom
 configuration: driver=amdgpu latency=0
 resources: irq:35 memory:e000-efff
memory:f000-f07f ioport:2000(size=256) memory:f0b0-f0b3
memory:c-d
...


information extracted from #cat /proc/cpuinfo
processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 21
model   : 48
model name  : AMD A10-7300 Radeon R6, 10 Compute Cores 4C+6G
...

It has a VGA output as well as HDMI and internal screen.

When booted with kernel parameters amdgpu.cik_support=1 amdgu.dc=1, the VGA
port does not work.
The dmesg output when booted with amdgpu=1 contains error messages of the form:
[drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from
Adapter Service for connector index:3! type 0 expected 3

in context

[drm] radeon kernel modesetting enabled.
fb: switching to radeondrmfb from EFI VGA
[drm] amdgpu kernel modesetting enabled.
[drm] initializing kernel modesetting (KAVERI 0x1002:0x130A 0x17AA:0x3988
0x00).
[drm] register mmio base: 0xF0B0
[drm] register mmio size: 262144
[drm] BIOS signature incorrect 0 0
[drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
[drm] Detected VRAM RAM=1024M, BAR=1024M
[drm] RAM width 64bits UNKNOWN
[drm] amdgpu: 1024M of VRAM memory ready
[drm] amdgpu: 3072M of GTT memory ready.
[drm] GART: num cpu pages 262144, num gpu pages 262144
[drm] PCIE GART of 1024M enabled (table at 0x00F40004).
[drm] Internal thermal controller without fan control
[drm] amdgpu: dpm initialized
[drm] Found UVD firmware Version: 1.55 Family ID: 9
[drm] Found VCE firmware Version: 50.10 Binary ID: 2
[drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from
Adapter Service for connector index:3! type 0 expected 3
[amdgpu]] *ERROR* construct: Invalid Connector ObjectID from Adapter Service
for connector index:4! type 0 expected 3
[drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from
Adapter Service for connector index:5! type 0 expected 3
[drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from
Adapter Service for connector index:6! type 0 expected 3
[drm] Display Core initialized with v3.1.27!
[drm] SADs count is

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

2018-05-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #19 from Chí-Thanh Christopher Nguyễn  ---
Per https://lists.freedesktop.org/archives/amd-gfx/2018-May/022021.html it
seems that AMD developers lack hardware to implement LVDS/VGA support at this
time.

KABINI devices with VGA, DVI-I and/or LVDS connectors are still possible to buy
in the market.
Supermicro H9SKV-420
Fujitsu D3313
both available via ebay.

In Europe one can find pre-owned Medion E1317T and E1318T too.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-04-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #18 from David Henningsson  ---
(In reply to Michel Dänzer from comment #10)
> (In reply to David Henningsson from comment #8)
> > The regression is between 4.15rc2 and 4.15rc3
> 
> Any chance you can bisect between these two?

So I did the bisection (which took some time) and it turned out empty. What
tricked me was the fact that Ubuntu changed their kernel configs between
4.15rc2 and 4.15rc3, mainly by enabling CONFIG_DRM_AMD_DC_PRE_VEGA and
CONFIG_DRM_AMD_DC_DCN1_0. This was the cause of regression for me rather than
patches between rc2 and rc3. 

Anyhow, it's probably a separate bug from this one, so sorry for the confusion.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-04-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

Chí-Thanh Christopher Nguyễn  changed:

   What|Removed |Added

   See Also|https://bugs.freedesktop.or |https://bugs.freedesktop.or
   |g/show_bug.cgi?id=105596|g/show_bug.cgi?id=105996

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-04-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

Chí-Thanh Christopher Nguyễn  changed:

   What|Removed |Added

   See Also||https://bugs.freedesktop.or
   ||g/show_bug.cgi?id=105596

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-04-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #17 from Chí-Thanh Christopher Nguyễn  ---
Created attachment 138863
  --> https://bugs.freedesktop.org/attachment.cgi?id=138863&action=edit
dmesg from kernel 4.15 with attachment 138831 applied

So I applied this patch from bug 105596

The "Unsupported Connector type:14" message is gone, the "Unsupported Connector
type:5" is still there (as expected).

However the screen stays blank and the "[drm] Cannot find any crtc or sizes"
message sill comes.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-04-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #16 from Chí-Thanh Christopher Nguyễn  ---
I tried with 4.16, made no difference. But as dc_log=1 on 4.16 gives no helpful
additional output, I will try on Monday with 4.15 again. It may also be
possible that I am affected both by the issue in this bug and what was reported
in comment 8 (but discussion about which should be continued in a separate bug
report).

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-04-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #15 from David Henningsson  ---
(In reply to Michel Dänzer from comment #10)
> (In reply to David Henningsson from comment #8)
> > The regression is between 4.15rc2 and 4.15rc3
> 
> Any chance you can bisect between these two?

I can, but it'll take a week or two at current speed...

Also because the original reporter now seem to refer to something specific to
LVDS we probably have different bugs, unfortunately.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-04-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

--- Comment #14 from Alex Deucher  ---
Please try attachment 138813 on bug 105996.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


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

2018-04-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105880

Chí-Thanh Christopher Nguyễn  changed:

   What|Removed |Added

Summary|[dc][kabini] Cannot find|[dc] No support for LVDS or
   |any crtc or sizes   |VGA connectors (Cannot find
   ||any crtc or sizes)

--- Comment #13 from Chí-Thanh Christopher Nguyễn  ---
Ok, so display connected via HDMI will light up with kernel 4.16. The issue is
therefore that DC lacks LVDS and VGA support.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel