[REGRESSION 6.14][BISECTED] AMD Carrizo shutdown hang since amdgpu commit ff69bba05f08

Alex Deucher alexdeucher at gmail.com
Mon Feb 10 23:28:16 UTC 2025


On Mon, Feb 10, 2025 at 6:03 PM Michał Pecio <michal.pecio at gmail.com> wrote:
>
> 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?

Does the attached patch fix it?

Alex


>
> 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!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-drm-amdgpu-pm-fix-UVD-handing-in-amdgpu_dpm_set_powe.patch
Type: text/x-patch
Size: 1611 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20250210/bc0abd7f/attachment.bin>


More information about the amd-gfx mailing list