Am 06.04.20 um 14:31 schrieb James Zhu:
On 2020-04-06 3:03 a.m., Christian König wrote:
Am 03.04.20 um 17:54 schrieb James Zhu:
On 2020-04-03 11:37 a.m., Alex Deucher wrote:
On Fri, Apr 3, 2020 at 8:52 AM James Zhu wrote:
VCN shared memory needs restore after wake up during S3 test.
How b
On 2020-04-06 3:03 a.m., Christian König wrote:
Am 03.04.20 um 17:54 schrieb James Zhu:
On 2020-04-03 11:37 a.m., Alex Deucher wrote:
On Fri, Apr 3, 2020 at 8:52 AM James Zhu wrote:
VCN shared memory needs restore after wake up during S3 test.
How big is the shared memory? It might be bet
Am 03.04.20 um 17:54 schrieb James Zhu:
On 2020-04-03 11:37 a.m., Alex Deucher wrote:
On Fri, Apr 3, 2020 at 8:52 AM James Zhu wrote:
VCN shared memory needs restore after wake up during S3 test.
How big is the shared memory? It might be better to allocate the
memory once at sw_init and the
On 2020-04-03 11:37 a.m., Alex Deucher wrote:
On Fri, Apr 3, 2020 at 8:52 AM James Zhu wrote:
VCN shared memory needs restore after wake up during S3 test.
How big is the shared memory? It might be better to allocate the
memory once at sw_init and then free it in sw_fini rather than
allocat
On Fri, Apr 3, 2020 at 8:52 AM James Zhu wrote:
>
> VCN shared memory needs restore after wake up during S3 test.
How big is the shared memory? It might be better to allocate the
memory once at sw_init and then free it in sw_fini rather than
allocating and freeing in every suspend/resume.
Alex
[AMD Official Use Only - Internal Distribution Only]
Reviewed-by: Feifei Xu
-Original Message-
From: amd-gfx On Behalf Of James Zhu
Sent: 2020年4月3日 20:52
To: amd-gfx@lists.freedesktop.org
Cc: Li, Pauline ; Zhu, James
Subject: [PATCH] drm/amdgpu/vcn: add shared menory restore after
VCN shared memory needs restore after wake up during S3 test.
Signed-off-by: James Zhu
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 26 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 1 +
2 files changed, 27 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vc