Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
09e619c0
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
09e619c0
编写于
11月 07, 2014
作者:
A
Alex Deucher
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm/radeon: export radeon_atombios_lookup_gpio
We need it for dpm. Signed-off-by:
N
Alex Deucher
<
alexander.deucher@amd.com
>
上级
129acb7c
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
8 addition
and
6 deletion
+8
-6
drivers/gpu/drm/radeon/radeon_atombios.c
drivers/gpu/drm/radeon/radeon_atombios.c
+6
-6
drivers/gpu/drm/radeon/radeon_mode.h
drivers/gpu/drm/radeon/radeon_mode.h
+2
-0
未找到文件。
drivers/gpu/drm/radeon/radeon_atombios.c
浏览文件 @
09e619c0
...
...
@@ -196,8 +196,8 @@ void radeon_atombios_i2c_init(struct radeon_device *rdev)
}
}
st
atic
struct
radeon_gpio_rec
radeon
_lookup_gpio
(
struct
radeon_device
*
rdev
,
u8
id
)
st
ruct
radeon_gpio_rec
radeon_atombios
_lookup_gpio
(
struct
radeon_device
*
rdev
,
u8
id
)
{
struct
atom_context
*
ctx
=
rdev
->
mode_info
.
atom_context
;
struct
radeon_gpio_rec
gpio
;
...
...
@@ -801,7 +801,7 @@ bool radeon_get_atom_connector_info_from_object_table(struct drm_device *dev)
hpd_record
=
(
ATOM_HPD_INT_RECORD
*
)
record
;
gpio
=
radeon_lookup_gpio
(
rdev
,
gpio
=
radeon_
atombios_
lookup_gpio
(
rdev
,
hpd_record
->
ucHPDIntGPIOID
);
hpd
=
radeon_atom_get_hpd_info_from_gpio
(
rdev
,
&
gpio
);
hpd
.
plugged_state
=
hpd_record
->
ucPlugged_PinState
;
...
...
@@ -2128,7 +2128,7 @@ static int radeon_atombios_parse_power_table_1_3(struct radeon_device *rdev)
rdev
->
pm
.
power_state
[
state_index
].
clock_info
[
0
].
voltage
.
type
=
VOLTAGE_GPIO
;
rdev
->
pm
.
power_state
[
state_index
].
clock_info
[
0
].
voltage
.
gpio
=
radeon_lookup_gpio
(
rdev
,
radeon_
atombios_
lookup_gpio
(
rdev
,
power_info
->
info
.
asPowerPlayInfo
[
i
].
ucVoltageDropIndex
);
if
(
misc
&
ATOM_PM_MISCINFO_VOLTAGE_DROP_ACTIVE_HIGH
)
rdev
->
pm
.
power_state
[
state_index
].
clock_info
[
0
].
voltage
.
active_high
=
...
...
@@ -2164,7 +2164,7 @@ static int radeon_atombios_parse_power_table_1_3(struct radeon_device *rdev)
rdev
->
pm
.
power_state
[
state_index
].
clock_info
[
0
].
voltage
.
type
=
VOLTAGE_GPIO
;
rdev
->
pm
.
power_state
[
state_index
].
clock_info
[
0
].
voltage
.
gpio
=
radeon_lookup_gpio
(
rdev
,
radeon_
atombios_
lookup_gpio
(
rdev
,
power_info
->
info_2
.
asPowerPlayInfo
[
i
].
ucVoltageDropIndex
);
if
(
misc
&
ATOM_PM_MISCINFO_VOLTAGE_DROP_ACTIVE_HIGH
)
rdev
->
pm
.
power_state
[
state_index
].
clock_info
[
0
].
voltage
.
active_high
=
...
...
@@ -2200,7 +2200,7 @@ static int radeon_atombios_parse_power_table_1_3(struct radeon_device *rdev)
rdev
->
pm
.
power_state
[
state_index
].
clock_info
[
0
].
voltage
.
type
=
VOLTAGE_GPIO
;
rdev
->
pm
.
power_state
[
state_index
].
clock_info
[
0
].
voltage
.
gpio
=
radeon_lookup_gpio
(
rdev
,
radeon_
atombios_
lookup_gpio
(
rdev
,
power_info
->
info_3
.
asPowerPlayInfo
[
i
].
ucVoltageDropIndex
);
if
(
misc
&
ATOM_PM_MISCINFO_VOLTAGE_DROP_ACTIVE_HIGH
)
rdev
->
pm
.
power_state
[
state_index
].
clock_info
[
0
].
voltage
.
active_high
=
...
...
drivers/gpu/drm/radeon/radeon_mode.h
浏览文件 @
09e619c0
...
...
@@ -748,6 +748,8 @@ extern bool radeon_atombios_get_ppll_ss_info(struct radeon_device *rdev,
extern
bool
radeon_atombios_get_asic_ss_info
(
struct
radeon_device
*
rdev
,
struct
radeon_atom_ss
*
ss
,
int
id
,
u32
clock
);
extern
struct
radeon_gpio_rec
radeon_atombios_lookup_gpio
(
struct
radeon_device
*
rdev
,
u8
id
);
extern
void
radeon_compute_pll_legacy
(
struct
radeon_pll
*
pll
,
uint64_t
freq
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录