drm/amdgpu: use VCN firmware offset for cache window
authorJames Zhu <James.Zhu@amd.com>
Tue, 23 Jul 2019 20:45:19 +0000 (16:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jul 2019 04:19:28 +0000 (23:19 -0500)
commit6913848087e29103f7062376d0ebf7efcaf1a26b
treea21dd8091245e75193e02e60133e10bb684a4dbe
parent668a9469f11470868ad4577d75894f8812919314
drm/amdgpu: use VCN firmware offset for cache window

Since we are using the signed FW now, and also using PSP firmware loading,
but it's still potential to break driver when loading FW directly
instead of PSP, so we should add offset.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c