Bug 77512 - the start of upstream kernel is blocked at DRM/Radeon initialization
Summary: the start of upstream kernel is blocked at DRM/Radeon initialization
Status: RESOLVED WONTFIX
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-16 07:36 UTC by XiongZhang
Modified: 2014-05-07 14:59 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg when loading radeon module with drm.debug=0xe (2.17 KB, text/plain)
2014-04-16 07:36 UTC, XiongZhang
no flags Details

Description XiongZhang 2014-04-16 07:36:46 UTC
Created attachment 97453 [details]
dmesg when loading radeon module with drm.debug=0xe

Label: edv01  (Edisonville)
BIOS: EDVLCRB1.86B.0033.R00.1311200915
Processor: Avoton B0
Kernel version: upstream stable kernel 3.13.7

details:
After loading Radeon module, screen is freeze. But system can response to "ctrl+alt+del". 
All upstream kernels since 3.14-rc1 have this issue. 

the Graphic ID:
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series] [1002:68f9]

I bisect the kernel and the first bad commit is:

commit b39146461f8ea158fe407455467b25b3be09d84e
Author: Alex Deucher <alexander.deucher@amd.com>
Date:   Wed Dec 18 19:11:27 2013 -0500

    drm/radeon: re-order firmware loading in preparation for dpm rework

    commit 01ac8794a77192236a4b91c33adf4177ac5a21f0 upstream.

    We need to reorder the driver init sequence to better accomodate
    dpm which needs to be loaded earlier in the init sequence.  Move
    fw init up so that it's available for dpm init.

    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Comment 1 Alex Deucher 2014-04-16 13:10:10 UTC
Your system is missing the radeon firmware which is required for the chip to operate properly.  Please install the firmware.
Comment 2 XiongZhang 2014-04-17 01:55:26 UTC
Where is radeon firmware? How can I install radeon firmware?
In my option, radeon firmware is the option rom on graphic card, my system must contain it, my system can display normally during bios, grub and kernel early phase. If I add nomodeset boot option, the system is ok using efifb driver.
Anyway, the system is normal in kernel 3.13, but it is bad since kernel 3.14-rc1.
It's better that radeon drm driver could handle this exception.
Comment 3 Alex Deucher 2014-04-17 12:55:54 UTC
It's included in the linux-firmware tree.  The firmware is required for proper option of the gpu beyond basic bios services (high bandwidth displays, acceleration, etc.).
Comment 4 XiongZhang 2014-04-18 02:02:36 UTC
After I copy radeon firmware to /lib/firmware, my system can boot up using latest upstream kernel.
It's strange that ubuntu 14.04 server doesn't contain radeon firmware defaultly after installation.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.