]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/powerplay: get SMC FW size to a flexible way
authorLikun Gao <Likun.Gao@amd.com>
Mon, 16 Sep 2019 03:37:42 +0000 (11:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Apr 2020 16:02:15 +0000 (12:02 -0400)
commit1586be8646053b1774b7eff8d8b4832e55c4faca
treec531a8c38af320e9e5fe9ff3fadfabea52a8c944
parentc4f7bcce6bd761447ff19d2a59ddf2a9eba7df0c
drm/amdgpu/powerplay: get SMC FW size to a flexible way

Get SMC fw size before backdoor loading instead of giving an
certain value, as it may different for different ASIC.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c