drm/amdgpu: use VCN firmware offset for cache window
authorLeo Liu <leo.liu@amd.com>
Thu, 18 Jul 2019 15:38:46 +0000 (11:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:07 +0000 (14:18 -0500)
commit53ef3969ddb88a2ee0b69d37f60bd2b1f02f23c9
tree6c15d99ea0fbeeaf25fe4495c659ace76885f5f8
parentb64d98656f0284cb88fa203541d4d0404b0e6c1a
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: Leo Liu <leo.liu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c