[AMD Official Use Only - Internal Distribution Only]
Reviewed-by: Leo Liu
From: amd-gfx On Behalf Of Jiang, Sonny
Sent: February 18, 2021 9:34 AM
To: amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/amdgpu/vcn3.0: add wptr/rptr reset/update for share
memory
[AMD Official Use Only
[AMD Official Use Only - Internal Distribution Only]
Ping.
From: Jiang, Sonny
Sent: Wednesday, February 10, 2021 8:31 PM
To: amd-gfx@lists.freedesktop.org
Cc: Jiang, Sonny
Subject: [PATCH] drm/amdgpu/vcn3.0: add wptr/rptr reset/update for share memory
Because
Because of dpg, the rptr/wptr need to be saved on fw shared memory,
and restore them back in RBC_RB_RPTR/WPTR in kernel at power up.
Signed-off-by: Sonny Jiang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 12 +++-
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 24 +++-
2