commit | 13a390a6f98abed327ec794a70830f066f3b6507 | [log] [tgz] |
---|---|---|
author | Hawking Zhang <Hawking.Zhang@amd.com> | Mon Nov 18 17:13:56 2019 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Nov 19 12:08:58 2019 -0500 |
tree | 5d0ac8b92e24ce615756c1daef42e7ae4ceba5d4 | |
parent | 32cc3bf0a77c0e600a3df33f1661da4dee7ceadb [diff] |
drm/amdgpu: add psp funcs for ring write pointer read/write The ring write pointer regsiter update is the only part that is IP specific ones in psp_cmd_submit function. Add two callbacks for wptr read/write so that we unify the psp_cmd_submit function for all the ASICs. Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: John Clements <john.clements@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>