OSDN Git Service

drm/amdgpu:use smc_index_11 for VI
authorMonk Liu <Monk.Liu@amd.com>
Tue, 29 Mar 2016 03:01:51 +0000 (11:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Oct 2016 18:38:20 +0000 (14:38 -0400)
commit4bc10d168a419dc07194fdb93ccc4c8cad1788e4
treeb812db73f155203481fa78a6b2f5065955fa1ec1
parente1d99217d02c52e141d61491f91160a9e6bd8fe7
drm/amdgpu:use smc_index_11 for VI

for VI smc, index_0 to index_8 are all not safe,
they may used by BIOS/FW, and index_11 is reserved
only for driver.

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vi.c
drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_1_d.h
drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_2_d.h
drivers/gpu/drm/amd/include/asic_reg/smu/smu_7_1_3_d.h
drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.h