Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
a8c65c13
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
a8c65c13
编写于
8月 01, 2016
作者:
A
Alex Deucher
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm/amdgpu/si: Add updated smc firmware for SI kickers
Signed-off-by:
N
Alex Deucher
<
alexander.deucher@amd.com
>
上级
295d0daf
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
44 addition
and
4 deletion
+44
-4
drivers/gpu/drm/amd/amdgpu/si_dpm.c
drivers/gpu/drm/amd/amdgpu/si_dpm.c
+44
-4
未找到文件。
drivers/gpu/drm/amd/amdgpu/si_dpm.c
浏览文件 @
a8c65c13
...
...
@@ -56,10 +56,15 @@
#define BIOS_SCRATCH_4 0x5cd
MODULE_FIRMWARE
(
"radeon/tahiti_smc.bin"
);
MODULE_FIRMWARE
(
"radeon/tahiti_k_smc.bin"
);
MODULE_FIRMWARE
(
"radeon/pitcairn_smc.bin"
);
MODULE_FIRMWARE
(
"radeon/pitcairn_k_smc.bin"
);
MODULE_FIRMWARE
(
"radeon/verde_smc.bin"
);
MODULE_FIRMWARE
(
"radeon/verde_k_smc.bin"
);
MODULE_FIRMWARE
(
"radeon/oland_smc.bin"
);
MODULE_FIRMWARE
(
"radeon/oland_k_smc.bin"
);
MODULE_FIRMWARE
(
"radeon/hainan_smc.bin"
);
MODULE_FIRMWARE
(
"radeon/hainan_k_smc.bin"
);
union
power_info
{
struct
_ATOM_POWERPLAY_INFO
info
;
...
...
@@ -7665,16 +7670,51 @@ static int si_dpm_init_microcode(struct amdgpu_device *adev)
chip_name
=
"tahiti"
;
break
;
case
CHIP_PITCAIRN
:
chip_name
=
"pitcairn"
;
if
((
adev
->
pdev
->
revision
==
0x81
)
||
(
adev
->
pdev
->
device
==
0x6810
)
||
(
adev
->
pdev
->
device
==
0x6811
)
||
(
adev
->
pdev
->
device
==
0x6816
)
||
(
adev
->
pdev
->
device
==
0x6817
)
||
(
adev
->
pdev
->
device
==
0x6806
))
chip_name
=
"pitcairn_k"
;
else
chip_name
=
"pitcairn"
;
break
;
case
CHIP_VERDE
:
chip_name
=
"verde"
;
if
((
adev
->
pdev
->
revision
==
0x81
)
||
(
adev
->
pdev
->
revision
==
0x83
)
||
(
adev
->
pdev
->
revision
==
0x87
)
||
(
adev
->
pdev
->
device
==
0x6820
)
||
(
adev
->
pdev
->
device
==
0x6821
)
||
(
adev
->
pdev
->
device
==
0x6822
)
||
(
adev
->
pdev
->
device
==
0x6823
)
||
(
adev
->
pdev
->
device
==
0x682A
)
||
(
adev
->
pdev
->
device
==
0x682B
))
chip_name
=
"verde_k"
;
else
chip_name
=
"verde"
;
break
;
case
CHIP_OLAND
:
chip_name
=
"oland"
;
if
((
adev
->
pdev
->
revision
==
0xC7
)
||
(
adev
->
pdev
->
revision
==
0x80
)
||
(
adev
->
pdev
->
revision
==
0x81
)
||
(
adev
->
pdev
->
revision
==
0x83
)
||
(
adev
->
pdev
->
device
==
0x6604
)
||
(
adev
->
pdev
->
device
==
0x6605
))
chip_name
=
"oland_k"
;
else
chip_name
=
"oland"
;
break
;
case
CHIP_HAINAN
:
chip_name
=
"hainan"
;
if
((
adev
->
pdev
->
revision
==
0x81
)
||
(
adev
->
pdev
->
revision
==
0x83
)
||
(
adev
->
pdev
->
revision
==
0xC3
)
||
(
adev
->
pdev
->
device
==
0x6664
)
||
(
adev
->
pdev
->
device
==
0x6665
)
||
(
adev
->
pdev
->
device
==
0x6667
))
chip_name
=
"hainan_k"
;
else
chip_name
=
"hainan"
;
break
;
default:
BUG
();
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录