drm/amdgpu/psp: avoid hard-code fence value pre submission
authorHawking Zhang <Hawking.Zhang@amd.com>
Fri, 28 Sep 2018 06:23:11 +0000 (14:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Nov 2018 19:21:09 +0000 (14:21 -0500)
commit0b25cbf9c26c4edf2cb12b542faf94d77586c916
treea1c6d40fd333c2f160e4991a8960a32e0bfe8803
parent7cd52c917a9c9a90f7d303079576971dc1a1c4fc
drm/amdgpu/psp: avoid hard-code fence value pre submission

Hard-code submission fence is not a sustainable way as there is
more and more run-time psp kernel mode submission from driver to
fw

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h