Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
cee59f15
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
161
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
cee59f15
编写于
10月 29, 2012
作者:
B
Ben Skeggs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm/nouveau: silence modesetting spam on pre-gf8 chipsets
Signed-off-by:
N
Ben Skeggs
<
bskeggs@redhat.com
>
上级
8f0d8163
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
19 addition
and
20 deletion
+19
-20
drivers/gpu/drm/nouveau/nv04_dac.c
drivers/gpu/drm/nouveau/nv04_dac.c
+8
-8
drivers/gpu/drm/nouveau/nv04_dfp.c
drivers/gpu/drm/nouveau/nv04_dfp.c
+7
-7
drivers/gpu/drm/nouveau/nv04_tv.c
drivers/gpu/drm/nouveau/nv04_tv.c
+4
-5
未找到文件。
drivers/gpu/drm/nouveau/nv04_dac.c
浏览文件 @
cee59f15
...
...
@@ -220,7 +220,7 @@ static enum drm_connector_status nv04_dac_detect(struct drm_encoder *encoder,
NVWriteVgaCrtc
(
dev
,
0
,
NV_CIO_CR_MODE_INDEX
,
saved_cr_mode
);
if
(
blue
==
0x18
)
{
NV_
INFO
(
drm
,
"Load detected on head A
\n
"
);
NV_
DEBUG
(
drm
,
"Load detected on head A
\n
"
);
return
connector_status_connected
;
}
...
...
@@ -338,8 +338,8 @@ nv17_dac_detect(struct drm_encoder *encoder, struct drm_connector *connector)
if
(
nv17_dac_sample_load
(
encoder
)
&
NV_PRAMDAC_TEST_CONTROL_SENSEB_ALLHI
)
{
NV_
INFO
(
drm
,
"Load detected on output %c
\n
"
,
'@'
+
ffs
(
dcb
->
or
));
NV_
DEBUG
(
drm
,
"Load detected on output %c
\n
"
,
'@'
+
ffs
(
dcb
->
or
));
return
connector_status_connected
;
}
else
{
return
connector_status_disconnected
;
...
...
@@ -413,9 +413,9 @@ static void nv04_dac_commit(struct drm_encoder *encoder)
helper
->
dpms
(
encoder
,
DRM_MODE_DPMS_ON
);
NV_
INFO
(
drm
,
"Output %s is running on CRTC %d using output %c
\n
"
,
drm_get_connector_name
(
&
nouveau_encoder_connector_get
(
nv_encoder
)
->
base
),
nv_crtc
->
index
,
'@'
+
ffs
(
nv_encoder
->
dcb
->
or
));
NV_
DEBUG
(
drm
,
"Output %s is running on CRTC %d using output %c
\n
"
,
drm_get_connector_name
(
&
nouveau_encoder_connector_get
(
nv_encoder
)
->
base
),
nv_crtc
->
index
,
'@'
+
ffs
(
nv_encoder
->
dcb
->
or
));
}
void
nv04_dac_update_dacclk
(
struct
drm_encoder
*
encoder
,
bool
enable
)
...
...
@@ -461,8 +461,8 @@ static void nv04_dac_dpms(struct drm_encoder *encoder, int mode)
return
;
nv_encoder
->
last_dpms
=
mode
;
NV_
INFO
(
drm
,
"Setting dpms mode %d on vga encoder (output %d)
\n
"
,
mode
,
nv_encoder
->
dcb
->
index
);
NV_
DEBUG
(
drm
,
"Setting dpms mode %d on vga encoder (output %d)
\n
"
,
mode
,
nv_encoder
->
dcb
->
index
);
nv04_dac_update_dacclk
(
encoder
,
mode
==
DRM_MODE_DPMS_ON
);
}
...
...
drivers/gpu/drm/nouveau/nv04_dfp.c
浏览文件 @
cee59f15
...
...
@@ -476,9 +476,9 @@ static void nv04_dfp_commit(struct drm_encoder *encoder)
helper
->
dpms
(
encoder
,
DRM_MODE_DPMS_ON
);
NV_
INFO
(
drm
,
"Output %s is running on CRTC %d using output %c
\n
"
,
drm_get_connector_name
(
&
nouveau_encoder_connector_get
(
nv_encoder
)
->
base
),
nv_crtc
->
index
,
'@'
+
ffs
(
nv_encoder
->
dcb
->
or
));
NV_
DEBUG
(
drm
,
"Output %s is running on CRTC %d using output %c
\n
"
,
drm_get_connector_name
(
&
nouveau_encoder_connector_get
(
nv_encoder
)
->
base
),
nv_crtc
->
index
,
'@'
+
ffs
(
nv_encoder
->
dcb
->
or
));
}
static
void
nv04_dfp_update_backlight
(
struct
drm_encoder
*
encoder
,
int
mode
)
...
...
@@ -520,8 +520,8 @@ static void nv04_lvds_dpms(struct drm_encoder *encoder, int mode)
return
;
nv_encoder
->
last_dpms
=
mode
;
NV_
INFO
(
drm
,
"Setting dpms mode %d on lvds encoder (output %d)
\n
"
,
mode
,
nv_encoder
->
dcb
->
index
);
NV_
DEBUG
(
drm
,
"Setting dpms mode %d on lvds encoder (output %d)
\n
"
,
mode
,
nv_encoder
->
dcb
->
index
);
if
(
was_powersaving
&&
is_powersaving_dpms
(
mode
))
return
;
...
...
@@ -565,8 +565,8 @@ static void nv04_tmds_dpms(struct drm_encoder *encoder, int mode)
return
;
nv_encoder
->
last_dpms
=
mode
;
NV_
INFO
(
drm
,
"Setting dpms mode %d on tmds encoder (output %d)
\n
"
,
mode
,
nv_encoder
->
dcb
->
index
);
NV_
DEBUG
(
drm
,
"Setting dpms mode %d on tmds encoder (output %d)
\n
"
,
mode
,
nv_encoder
->
dcb
->
index
);
nv04_dfp_update_backlight
(
encoder
,
mode
);
nv04_dfp_update_fp_control
(
encoder
,
mode
);
...
...
drivers/gpu/drm/nouveau/nv04_tv.c
浏览文件 @
cee59f15
...
...
@@ -75,8 +75,8 @@ static void nv04_tv_dpms(struct drm_encoder *encoder, int mode)
struct
nv04_mode_state
*
state
=
&
nv04_display
(
dev
)
->
mode_reg
;
uint8_t
crtc1A
;
NV_
INFO
(
drm
,
"Setting dpms mode %d on TV encoder (output %d)
\n
"
,
mode
,
nv_encoder
->
dcb
->
index
);
NV_
DEBUG
(
drm
,
"Setting dpms mode %d on TV encoder (output %d)
\n
"
,
mode
,
nv_encoder
->
dcb
->
index
);
state
->
pllsel
&=
~
(
PLLSEL_TV_CRTC1_MASK
|
PLLSEL_TV_CRTC2_MASK
);
...
...
@@ -167,9 +167,8 @@ static void nv04_tv_commit(struct drm_encoder *encoder)
helper
->
dpms
(
encoder
,
DRM_MODE_DPMS_ON
);
NV_INFO
(
drm
,
"Output %s is running on CRTC %d using output %c
\n
"
,
drm_get_connector_name
(
&
nouveau_encoder_connector_get
(
nv_encoder
)
->
base
),
nv_crtc
->
index
,
'@'
+
ffs
(
nv_encoder
->
dcb
->
or
));
NV_DEBUG
(
drm
,
"Output %s is running on CRTC %d using output %c
\n
"
,
drm_get_connector_name
(
&
nouveau_encoder_connector_get
(
nv_encoder
)
->
base
),
nv_crtc
->
index
,
'@'
+
ffs
(
nv_encoder
->
dcb
->
or
));
}
static
void
nv04_tv_destroy
(
struct
drm_encoder
*
encoder
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录