]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Fix firmware UCODE_ID_STORAGE issue (v2)
authorTrigger Huang <trigger.huang@amd.com>
Tue, 11 Apr 2017 05:56:36 +0000 (01:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Apr 2017 21:32:14 +0000 (17:32 -0400)
commitf8a03dd06276fc5b728f1eeea17d76323a2417db
treef3ece0da5d244572495b0331e84d8bdc731faee6
parentd4eeb6ea4ea71dd8e9fd1e514b822eac58f9d933
drm/amdgpu: Fix firmware UCODE_ID_STORAGE issue (v2)

In Tonga's virtualization environment, for firmware UCODE_ID_STORAGE,
there is no actual firmware data, but we still need alloc a BO and
tell the BO's mc address to HW, or world switch will hang on VFs.

v2: fix coding style (Alex)

Signed-off-by: Trigger Huang <trigger.huang@amd.com>
Reviewed-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c