Re: [PATCH] drm/amdpu/vce_v3: skip suspend and resume if powergated

2018-08-10 Thread S, Shirish
. Best Regards Rex *From:* S, Shirish *Sent:* Friday, August 10, 2018 2:15 PM *To:* Deucher, Alexander; Zhu, Rex; Liu, Leo *Cc:* amd-gfx@lists.freedesktop.org; S, Shirish *Subject:* [PATCH] drm/amdpu/vce_v3: skip suspend

答复: [PATCH] drm/amdpu/vce_v3: skip suspend and resume if powergated

2018-08-09 Thread Qu, Jim
Fix typo throw() to thaw(). Thanks JimQu 发件人: Qu, Jim 发送时间: 2018年8月10日 14:55:09 收件人: Zhu, Rex; S, Shirish; Deucher, Alexander; Liu, Leo 抄送: amd-gfx@lists.freedesktop.org 主题: 答复: [PATCH] drm/amdpu/vce_v3: skip suspend and resume if powergated There are

答复: [PATCH] drm/amdpu/vce_v3: skip suspend and resume if powergated

2018-08-09 Thread Qu, Jim
; Deucher, Alexander; Liu, Leo 抄送: amd-gfx@lists.freedesktop.org 主题: Re: [PATCH] drm/amdpu/vce_v3: skip suspend and resume if powergated I am Ok with the check when call vce_v3_0_hw_fini. But we may still need to call amdpug_vce_suspend/resume. and not sure whether need to do ring test when resume back

Re: [PATCH] drm/amdpu/vce_v3: skip suspend and resume if powergated

2018-08-09 Thread Zhu, Rex
, Alexander; Zhu, Rex; Liu, Leo Cc: amd-gfx@lists.freedesktop.org; S, Shirish Subject: [PATCH] drm/amdpu/vce_v3: skip suspend and resume if powergated This patch adds a mechanism by which the VCE 3.0 block shall check if it was enabled or in use before suspending, if it was powergated while entering

[PATCH] drm/amdpu/vce_v3: skip suspend and resume if powergated

2018-08-09 Thread Shirish S
This patch adds a mechanism by which the VCE 3.0 block shall check if it was enabled or in use before suspending, if it was powergated while entering suspend then there is no need to repeat it in vce_3_0_suspend(). Similarly, if the block was powergated while entering suspend itself then there is n