Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
c751ce4f
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看板
提交
c751ce4f
编写于
3月 25, 2010
作者:
E
Eric Anholt
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm/i915: Rename many remaining uses of "output" to encoder or connector.
Signed-off-by:
N
Eric Anholt
<
eric@anholt.net
>
上级
21d40d37
变更
2
展开全部
隐藏空白更改
内联
并排
Showing
2 changed file
with
103 addition
and
98 deletion
+103
-98
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_display.c
+10
-10
drivers/gpu/drm/i915/intel_sdvo.c
drivers/gpu/drm/i915/intel_sdvo.c
+93
-88
未找到文件。
drivers/gpu/drm/i915/intel_display.c
浏览文件 @
c751ce4f
...
...
@@ -754,8 +754,8 @@ bool intel_pipe_has_type (struct drm_crtc *crtc, int type)
return
false
;
}
struct
drm_connector
*
intel_pipe_get_
output
(
struct
drm_crtc
*
crtc
)
st
atic
st
ruct
drm_connector
*
intel_pipe_get_
connector
(
struct
drm_crtc
*
crtc
)
{
struct
drm_device
*
dev
=
crtc
->
dev
;
struct
drm_mode_config
*
mode_config
=
&
dev
->
mode_config
;
...
...
@@ -2916,7 +2916,7 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,
int
dspsize_reg
=
(
plane
==
0
)
?
DSPASIZE
:
DSPBSIZE
;
int
dsppos_reg
=
(
plane
==
0
)
?
DSPAPOS
:
DSPBPOS
;
int
pipesrc_reg
=
(
pipe
==
0
)
?
PIPEASRC
:
PIPEBSRC
;
int
refclk
,
num_
output
s
=
0
;
int
refclk
,
num_
connector
s
=
0
;
intel_clock_t
clock
,
reduced_clock
;
u32
dpll
=
0
,
fp
=
0
,
fp2
=
0
,
dspcntr
,
pipeconf
;
bool
ok
,
has_reduced_clock
=
false
,
is_sdvo
=
false
,
is_dvo
=
false
;
...
...
@@ -2974,10 +2974,10 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,
break
;
}
num_
output
s
++
;
num_
connector
s
++
;
}
if
(
is_lvds
&&
dev_priv
->
lvds_use_ssc
&&
num_
output
s
<
2
)
{
if
(
is_lvds
&&
dev_priv
->
lvds_use_ssc
&&
num_
connector
s
<
2
)
{
refclk
=
dev_priv
->
lvds_ssc_freq
*
1000
;
DRM_DEBUG_KMS
(
"using SSC reference clock of %d MHz
\n
"
,
refclk
/
1000
);
...
...
@@ -3048,7 +3048,7 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,
if
(
is_edp
)
{
struct
drm_connector
*
edp
;
target_clock
=
mode
->
clock
;
edp
=
intel_pipe_get_
output
(
crtc
);
edp
=
intel_pipe_get_
connector
(
crtc
);
intel_edp_link_config
(
to_intel_encoder
(
edp
),
&
lane
,
&
link_bw
);
}
else
{
...
...
@@ -3230,7 +3230,7 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,
/* XXX: just matching BIOS for now */
/* dpll |= PLL_REF_INPUT_TVCLKINBC; */
dpll
|=
3
;
else
if
(
is_lvds
&&
dev_priv
->
lvds_use_ssc
&&
num_
output
s
<
2
)
else
if
(
is_lvds
&&
dev_priv
->
lvds_use_ssc
&&
num_
connector
s
<
2
)
dpll
|=
PLLB_REF_INPUT_SPREADSPECTRUMIN
;
else
dpll
|=
PLL_REF_INPUT_DREFCLK
;
...
...
@@ -3654,9 +3654,9 @@ static void intel_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green,
* detection.
*
* It will be up to the load-detect code to adjust the pipe as appropriate for
* its requirements. The pipe will be connected to no other
output
s.
* its requirements. The pipe will be connected to no other
encoder
s.
*
* Currently this code will only succeed if there is a pipe with no
output
s
* Currently this code will only succeed if there is a pipe with no
encoder
s
* configured for it. In the future, it could choose to temporarily disable
* some outputs to free up a pipe for its use.
*
...
...
@@ -3770,7 +3770,7 @@ void intel_release_load_detect_pipe(struct intel_encoder *intel_encoder, int dpm
drm_helper_disable_unused_functions
(
dev
);
}
/* Switch crtc and
output
back off if necessary */
/* Switch crtc and
encoder
back off if necessary */
if
(
crtc
->
enabled
&&
dpms_mode
!=
DRM_MODE_DPMS_ON
)
{
if
(
encoder
->
crtc
==
crtc
)
encoder_funcs
->
dpms
(
encoder
,
dpms_mode
);
...
...
drivers/gpu/drm/i915/intel_sdvo.c
浏览文件 @
c751ce4f
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录