mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Eldad Zack <eldad@fogrefinery.com>
To: Alex Deucher <alexdeucher@gmail.com>
Cc: Alex Deucher <alexander.deucher@amd.com>,
	Jerome Glisse <jglisse@redhat.com>,
	linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: Regression: drm/radeon: brightness control hard system lockup
Date: Mon, 7 Jan 2013 22:33:39 +0100 (CET)	[thread overview]
Message-ID: <alpine.LNX.2.00.1301072206530.1617@xoschi> (raw)
In-Reply-To: <CADnq5_O1GDuigxwR8eXu7f1Fsb8iqrggVwYBaiOJKOR-ighYag@mail.gmail.com>


On Mon, 7 Jan 2013, Alex Deucher wrote:
> On Sun, Jan 6, 2013 at 7:59 AM, Eldad Zack <eldad@fogrefinery.com> wrote:
> >
> > Hi Alex,
> >
> > Commit 0ecebb9e0d14e9948e0b1529883a776758117d6f "drm/radeon: switch to a
> > finer grained reset for evergreen" introduced a hard system lockup to my
> > setup. I found it after bisecting, and confirmed it by reverting it on
> > the latest mainline ( 5f243b9 ).
> >
> > This:
> >
> >    echo 7 > /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/backlight/acpi_video0/brightness
> >
> > Causes a hard lock-up hard, i.e. immediate freeze, without any logs.
> >
> > See lspci output and kernel .config below.
> > If there's any more info I can provide, please let me know.
> 
> Do you normally see GPU resets when changing the backlight?  Please
> attach your dmesg output when changing the backlight with the patch
> reverted.

I see nothing. Just to make sure, I cleared the buffer, cycled through 
0-7 a couple of hunderd times (until the flicker annoyed), but I see no
messages at all.
Is there any debug config I should turn on?

Turning ACPI debugging on gives me no messages neither when I use the 
cycle script.

But I did find out something interesting enough, only because I 
happen to have sound debugging on, if I have a PCM stream open to a
USB device, and then change the backlight level, it seems to drop to
microframes, but it's not otherwise noticeable. Looks like setting the
backlight still does something weird with my hardware/config.

Below is a grep -i radeon from my boot dmesg.

Cheers,
Eldad

[    0.301558] [drm] radeon defaulting to kernel modesetting.
[    0.301626] [drm] radeon kernel modesetting enabled.
[    0.301694] bus: 'pci': add driver radeon
[    0.301716] bus: 'pci': driver_probe_device: matched device 0000:01:00.0 with driver radeon
[    0.301718] bus: 'pci': really_probe: probing driver radeon with device 0000:01:00.0
[    0.302310] radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
[    0.302390] radeon 0000:01:00.0: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF
[    0.303021] [drm] radeon: 1024M of VRAM memory ready
[    0.303108] [drm] radeon: 512M of GTT memory ready.
[    0.303378] radeon 0000:01:00.0: irq 41 for MSI/MSI-X
[    0.303390] radeon 0000:01:00.0: radeon: using MSI.
[    0.303485] [drm] radeon: irq initialized.
[    0.304198] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
[    0.304414] Registering platform device 'radeon_cp.0'. Parent at platform
[    0.304416] device: 'radeon_cp.0': device_add
[    0.304421] bus: 'platform': add device radeon_cp.0
[    0.304428] PM: Adding info for platform:radeon_cp.0
[    0.304497] platform radeon_cp.0: firmware: using built-in firmware radeon/TURKS_pfp.bin
[    0.304501] platform radeon_cp.0: firmware: using built-in firmware radeon/TURKS_me.bin
[    0.304503] platform radeon_cp.0: firmware: using built-in firmware radeon/BTC_rlc.bin
[    0.304506] platform radeon_cp.0: firmware: using built-in firmware radeon/TURKS_mc.bin
[    0.304517] bus: 'platform': remove device radeon_cp.0
[    0.304518] PM: Removing info for platform:radeon_cp.0
[    0.338906] radeon 0000:01:00.0: WB enabled
[    0.338970] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff880244a0fc00
[    0.339064] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff880244a0fc0c
[    0.356604] device: 'radeon_bl0': device_add
[    0.356616] PM: Adding info for No Bus:radeon_bl0
[    0.407974] [drm] radeon atom DIG backlight initialized
[    0.408039] [drm] Radeon Display Connectors
[    0.410135] [drm] radeon: power management initialized
[    0.822297] fbcon: radeondrmfb (fb0) is primary device
[    1.585493] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
[    1.585546] radeon 0000:01:00.0: registered panic notifier
[    1.585601] [drm] Initialized radeon 2.28.0 20080528 for 0000:01:00.0 on minor 0
[    1.585658] driver: '0000:01:00.0': driver_bound: bound to device 'radeon'
[    1.585661] bus: 'pci': really_probe: bound device 0000:01:00.0 to driver radeon



  reply	other threads:[~2013-01-07 21:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-06 12:59 Eldad Zack
2013-01-07 15:20 ` Alex Deucher
2013-01-07 21:33   ` Eldad Zack [this message]
2013-01-07 21:50     ` Alex Deucher
2013-01-13 21:00       ` Eldad Zack
2013-01-14 14:09         ` Paul Menzel
2013-01-14 16:08         ` Alex Deucher
2013-01-14 16:51           ` Paul Menzel
2013-01-15  0:01             ` Alex Deucher
2013-01-14 20:27           ` Eldad Zack
2013-01-15  0:00             ` Alex Deucher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.00.1301072206530.1617@xoschi \
    --to=eldad@fogrefinery.com \
    --cc=alexander.deucher@amd.com \
    --cc=alexdeucher@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jglisse@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®