[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
Fri May 25 08:11:54 UTC 2018


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

--- Comment #20 from Pontus Gråskæg <graaskaeg.via.forwarder at neverbox.com> ---
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 at 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 at 0000: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 at 0000: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:e0000000-efffffff
memory:f0000000-f07fffff ioport:2000(size=256) memory:f0b00000-f0b3ffff
memory:c0000-dffff
...


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: 0xF0B00000
[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 0x000000F400040000).
[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: -2, don't need to read it
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] Driver supports precise vblank timestamp query.
[drm] UVD initialized successfully.
[drm] VCE initialized successfully.
[drm] fb mappable at 0xA042A000
[drm] vram apper at 0xA0000000
[drm] size 8294400
[drm] fb depth is 24
[drm]    pitch is 7680
fbcon: amdgpudrmfb (fb0) is primary device
amdgpu 0000:00:01.0: fb0: amdgpudrmfb frame buffer device
[drm] Initialized amdgpu 3.23.0 20150101 for 0000:00:01.0 on minor 0

The VGA port works when booted with kernel parameters amdgpu.cik_support=1
amdgpu.dc=0

graaskaeg

-- 
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/20180525/7db219a8/attachment-0001.html>


More information about the dri-devel mailing list