All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michał Pecio" <michal.pecio@gmail.com>
To: amd-gfx@lists.freedesktop.org
Cc: regressions@lists.linux.dev, Kenneth Feng <kenneth.feng@amd.com>,
	Alex Deucher <alexander.deucher@amd.com>,
	Boyuan Zhang <boyuan.zhang@amd.com>
Subject: [REGRESSION 6.14][BISECTED] AMD Carrizo shutdown hang since amdgpu commit ff69bba05f08
Date: Mon, 10 Feb 2025 19:15:18 +0100	[thread overview]
Message-ID: <20250210191518.351576aa@foxbook> (raw)

Hi,

I have a machine with this APU:
AMD PRO A10-8770 R7, 10 COMPUTE CORES 4C+6G

6.13 was OK, with 6.14-rc2 it hangs on shutdown after the display
turns off.

git-bisect says:
# first bad commit: [ff69bba05f085cd6d4277c27ac7600160167b384] drm/amd/pm: add inst to dpm_set_powergating_by_smu

The preceding commit does indeed shutdown normally.
AMDGPU is built into the kernel image, not sure if it matters.

Final lines of dynamic debug over serial pasted below. Any ideas?

Thanks,
Michal

[   79.232113] [SURFACE]:Pipe 0: width, height, x, y
[   79.232113] viewport:1600, 1200, 0, 0
[   79.232113] recout:  1600, 1200, 0, 0
[   79.251418] amdgpu: [IPS]: dc_allow_idle_optimizations_internal: allow_idle old=0 new=1 (caller=amdgpu_dm_crtc_vblank_control_worker)
[   79.253727] [SCALER]:resource_build_scaling_params pipe 0:
[   79.253727] Viewport: height:1200 width:1600 x:0 y:0  Recout: height:1200 width:1600 x:0 y:0  HACTIVE:1600 VACTIVE:1200
[   79.253727] src_rect: height:1200 width:1600 x:0 y:0  dst_rect: height:1200 width:1600 x:0 y:0  clip_rect: height:1200 width:1600 x:0 y:0
[   79.303043] [SCALER]:resource_build_scaling_params pipe 0:
[   79.303043] Viewport: height:1200 width:1600 x:0 y:0  Recout: height:1200 width:1600 x:0 y:0  HACTIVE:1600 VACTIVE:1200
[   79.303043] src_rect: height:1200 width:1600 x:0 y:0  dst_rect: height:1200 width:1600 x:0 y:0  clip_rect: height:1200 width:1600 x:0 y:0
[   79.339233] [BANDWIDTH_CALCS]:dce110_validate_bandwidth: start
[   79.339691] [SCALER]:resource_build_scaling_params pipe 0:
[   79.339691] Viewport: height:1200 width:1600 x:0 y:0  Recout: height:1200 width:1600 x:0 y:0  HACTIVE:1600 VACTIVE:1200
[   79.339691] src_rect: height:1200 width:1600 x:0 y:0  dst_rect: height:1200 width:1600 x:0 y:0  clip_rect: height:1200 width:1600 x:0 y:0
[   79.384264] [BANDWIDTH_CALCS]:dce110_validate_bandwidth: start
[   79.384601] [SURFACE]:Pipe:0 ffff888104900000: addr hi:0xff, addr low:0xed3000, src: 0, 0, 1600, 1200; dst: 0, 0, 1600, 1200;clip: 0, 0, 1600, 1200
[   79.408652] [SURFACE]:Pipe 0: width, height, x, y
[   79.408652] viewport:1600, 1200, 0, 0
[   79.408652] recout:  1600, 1200, 0, 0
[   79.428580] [BANDWIDTH_CALCS]:dce110_validate_bandwidth: start
[   79.428597] [BANDWIDTH_CALCS]:dce110_validate_bandwidth: finish,
[   79.428597] nbpMark_b: 0 nbpMark_a: 31870 urgentMark_b: 0 urgentMark_a: 16615
[   79.428597] stutMark_b: 0 stutMark_a: 27915
[   79.428597] nbpMark_b: 0 nbpMark_a: 0 urgentMark_b: 0 urgentMark_a: 0
[   79.428597] stutMark_b: 0 stutMark_a: 0
[   79.428597] nbpMark_b: 0 nbpMark_a: 0 urgentMark_b: 0 urgentMark_a: 0
[   79.428597] stutMark_b: 0 stutMark_a: 0 stutter_mode_enable: 1
[   79.428597] cstate: 1 pstate: 1 nbpstate: 1 sync: 0 dispclk: 0
[   79.428597] sclk: 0 sclk_sleep: 12225 yclk: 2668000 blackout_recovery_time_us: 0
[   79.429071] amdgpu: [IPS]: dc_allow_idle_optimizations_internal: allow_idle old=0 new=1 (caller=amdgpu_dm_crtc_vblank_control_worker)
[   79.527445] [BANDWIDTH_CALCS]:dce110_validate_bandwidth: start
[   79.527463] [BANDWIDTH_CALCS]:dce110_validate_bandwidth: finish,
[   79.527463] nbpMark_b: 0 nbpMark_a: 31870 urgentMark_b: 0 urgentMark_a: 16615
[   79.527463] stutMark_b: 0 stutMark_a: 27915
[   79.527463] nbpMark_b: 0 nbpMark_a: 0 urgentMark_b: 0 urgentMark_a: 0
[   79.527463] stutMark_b: 0 stutMark_a: 0
[   79.527463] nbpMark_b: 0 nbpMark_a: 0 urgentMark_b: 0 urgentMark_a: 0
[   79.527463] stutMark_b: 0 stutMark_a: 0 stutter_mode_enable: 1
[   79.527463] cstate: 1 pstate: 1 nbpstate: 1 sync: 0 dispclk: 0
[   79.527463] sclk: 0 sclk_sleep: 12225 yclk: 2668000 blackout_recovery_time_us: 0
[   79.609435] amdgpu: Setting Deep Sleep Clock: 1222
[   79.616505] amdgpu: enable Low Memory PState.
[   79.708792] amdgpu: Setting Deep Sleep Clock: 1222
[   79.715842] amdgpu: enable Low Memory PState.
[   79.722763] amdgpu 0000:00:01.0: amdgpu: IP block9 already in the target gate state!

             reply	other threads:[~2025-02-10 23:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-10 18:15 Michał Pecio [this message]
2025-02-10 23:28 ` [REGRESSION 6.14][BISECTED] AMD Carrizo shutdown hang since amdgpu commit ff69bba05f08 Alex Deucher
2025-02-11  0:23   ` Michał Pecio

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=20250210191518.351576aa@foxbook \
    --to=michal.pecio@gmail.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=boyuan.zhang@amd.com \
    --cc=kenneth.feng@amd.com \
    --cc=regressions@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.