RE: [PATCH 1/2] drm/amdgpu: use rpm_mode as runtime pm check flag

2022-11-21 Thread Chen, Guchun
gt;>; Zhang, Hawking mailto:hawking.zh...@amd.com>>; Lazar, Lijo mailto:lijo.la...@amd.com>>; Quan, Evan mailto:evan.q...@amd.com>> Cc: Chen, Guchun mailto:guchun.c...@amd.com>> Subject: [PATCH 1/2] drm/amdgpu: use rpm_mode as runtime pm check flag Driver was not calli

Re: [PATCH 1/2] drm/amdgpu: use rpm_mode as runtime pm check flag

2022-11-20 Thread Lazar, Lijo
, Guchun Sent: Monday, November 21, 2022 6:08:58 AM To: amd-gfx@lists.freedesktop.org ; Deucher, Alexander ; Zhang, Hawking ; Lazar, Lijo ; Quan, Evan Cc: Chen, Guchun Subject: [PATCH 1/2] drm/amdgpu: use rpm_mode as runtime pm check flag Driver was not calling BACO exit at all in runtime pm resume

[PATCH 1/2] drm/amdgpu: use rpm_mode as runtime pm check flag

2022-11-20 Thread Guchun Chen
Driver was not calling BACO exit at all in runtime pm resume, and it caused the timing issue leading to a PCI AER error, as once system enters BACO, it's not reliable to check runtime pm mode by talking to SMU. So use rpm_mode instead as a general pm mode check to ensure driver executes BACO exit i